Function at 0x42f470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496b30
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push edi
mov eax, dword [0x4cb08c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea edi, [esp + 0x40]
mov eax, esi
call fcn.00431510
push eax
mov dword [esp + 0x84], 0
call fcn.0041d9c0
mov dword [esp + 0x84], 0xffffffff
mov ebx, dword [esp + 0x44]
add esp, 4
test ebx, ebx
mov dword [esp + 0x34], eax
je 0x42f510
push 0
lea ecx, [esp + 0x40]
call fcn.00458061
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x42f4ee
cmp eax, 0xffffffff
jae 0x42f4ee
add eax, 0xffffffff
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x3c]
and edi, ebx
call fcn.00458082
test edi, edi
je 0x42f510
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push 0x25
mov ecx, edi
call edx
mov bl, al
mov al, byte [esi + 0x50]
mov byte [esp + 0x3c], al
mov ecx, dword [esp + 0x3c]
push ecx
mov byte [esp + 0x3c], bl
mov edx, dword [esp + 0x3c]
push edi
mov edi, dword [ebp + 8]
push edx
mov ecx, edi
mov byte [esp + 0x21], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00431a30
add esp, 0xc
push eax
push esi
call fcn.004317d0
xor eax, eax
push 1
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e], al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.00421fe0
mov edi, eax
cmp edi, 0xffffffff
je 0x42f937
mov byte [esp + 0x10], bl
cmp dword [esp + 0x18], 0
jne 0x42f59c
lea ecx, [esi + 0x34]
mov dword [esp + 0x30], ecx
jmp 0x42f5d7
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 4]
add ebx, 0xffffffff
test eax, eax
je 0x42f5c4
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x42f5c9
call fcn.00471ad5
mov edx, dword [esi + 4]
imul ebx, ebx, 0x64
lea eax, [ebx + edx + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
cmp ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
jbe 0x42f5ee
call fcn.00471ad5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
lea ebx, [eax + 4]
mov dword [esp + 0x20], ebx
jb 0x42f603
mov ecx, dword [ebx]
mov dword [esp + 0x38], ecx
jmp 0x42f607
mov dword [esp + 0x38], ebx
cmp edi, dword [eax + 0x14]
jbe 0x42f614
call fcn.00471ad5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x42f622
mov edx, dword [ebx]
mov dword [esp + 0x3c], edx
jmp 0x42f626
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov cl, byte [edx + ecx]
mov edx, dword [esp + 0x3c]
cmp cl, byte [edx + edi]
jne 0x42f660
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
call fcn.00431cb0
add esp, 0xc
add edi, 2
mov dword [esp + 0x1c], edi
jmp 0x42f914
cmp edi, dword [esp + 0x1c]
je 0x42f683
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push edi
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.00431cb0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x1c], edi
mov edx, dword [eax + 0x18]
cmp edx, 0x10
jb 0x42f68f
mov edi, dword [ebx]
jmp 0x42f691
mov edi, ebx
test edi, edi
je 0x42f6b8
cmp edx, 0x10
jb 0x42f69e
mov ecx, dword [ebx]
jmp 0x42f6a0
mov ecx, ebx
cmp ecx, edi
ja 0x42f6b8
cmp edx, 0x10
jb 0x42f6ad
mov ecx, dword [ebx]
jmp 0x42f6af
mov ecx, ebx
mov edx, dword [eax + 0x14]
add edx, ecx
cmp edi, edx
jbe 0x42f6c0
call fcn.00471ad5
mov eax, dword [ebp + 8]
cmp eax, 0xfffffffe
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
je 0x42f700
mov ecx, dword [eax + 0x18]
cmp ecx, 0x10
mov dword [esp + 0x3c], ecx
jb 0x42f6dd
mov ecx, dword [ebx]
jmp 0x42f6df
mov ecx, ebx
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x14]
add edx, edi
add eax, ecx
cmp edx, eax
ja 0x42f6fb
cmp dword [esp + 0x3c], 0x10
jb 0x42f6f7
mov ebx, dword [ebx]
cmp edx, ebx
jae 0x42f700
call fcn.00471ad5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
lea eax, [edi + ecx]
mov dword [esp + 0x4c], eax
mov al, byte [esi + 0x50]
mov byte [esp + 0x44], al
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x48], edx
je 0x42f73d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x42f742
call fcn.00471ad5
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 4]
imul eax, eax, 0x64
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x20]
add ebx, eax
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x18]
cmp eax, 0x10
jb 0x42f765
mov edi, dword [edx]
jmp 0x42f767
mov edi, edx
mov ecx, dword [ecx + 0x14]
add edi, ecx
mov dword [esp + 0x3c], ecx
je 0x42f796
cmp eax, 0x10
jb 0x42f77b
mov ecx, dword [edx]
jmp 0x42f77d
mov ecx, edx
cmp ecx, edi
ja 0x42f796
cmp eax, 0x10
jb 0x42f78a
mov eax, dword [edx]
jmp 0x42f78c
mov eax, edx
mov ecx, dword [esp + 0x3c]
add ecx, eax
cmp edi, ecx
jbe 0x42f79b
call fcn.00471ad5
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x3c]
push edx
push ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x74], edi
call fcn.00431db0
mov edx, dword [ebp + 8]
mov byte [esp + 0x2f], al
mov eax, dword [edx + 0x18]
mov edx, dword [esp + 0x38]
add esp, 0x18
cmp eax, 0x10
jb 0x42f7df
mov ebx, dword [edx]
jmp 0x42f7e3
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x42f80d
cmp eax, 0x10
jb 0x42f7f0
mov ecx, dword [edx]
jmp 0x42f7f2
mov ecx, edx
cmp ecx, ebx
ja 0x42f80d
cmp eax, 0x10
jb 0x42f7ff
mov eax, dword [edx]
jmp 0x42f801
mov eax, edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
add edx, eax
cmp ebx, edx
jbe 0x42f812
call fcn.00471ad5
mov eax, dword [esp + 0x48]
cmp eax, 0xfffffffe
je 0x42f829
test eax, eax
je 0x42f824
cmp eax, dword [ebp + 8]
je 0x42f829
call fcn.00471ad5
mov edi, dword [esp + 0x4c]
sub edi, ebx
cmp byte [esp + 0x17], 0
je 0x42f914
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x1c], edi
je 0x42f861
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x42f866
call fcn.00471ad5
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x38]
mov ecx, dword [eax + ebx + 0x60]
add eax, ebx
test cl, 1
je 0x42f89e
mov edx, dword [eax + 0x48]
test dl, 0x40
je 0x42f885
and ecx, 0xfffffffe
jmp 0x42f89b
and edx, 0xffffff3f
and ecx, 0xfffffffd
or edx, 0x100
mov byte [eax + 0x44], 0x30
mov dword [eax + 0x48], edx
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x60]
test cl, 2
je 0x42f8b2
test byte [eax + 0x48], 0x20
je 0x42f8b2
and ecx, 0xfffffffd
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x42f8d5
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x42f8da
call fcn.00471ad5
mov eax, dword [esi + 4]
mov eax, dword [ebx + eax]
cmp eax, 0xfffffffd
je 0x42f914
cmp eax, 0xffffffff
jne 0x42f8f1
mov byte [esp + 0x15], 0
jmp 0x42f907
cmp eax, 0xfffffffe
jne 0x42f8fd
mov byte [esp + 0x16], 1
jmp 0x42f907
cmp eax, dword [esp + 0x2c]
jle 0x42f907
mov dword [esp + 0x2c], eax
mov eax, 1
add dword [esp + 0x28], eax
add dword [esp + 0x18], eax
push 1
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00421fe0
mov edi, eax
cmp edi, 0xffffffff
jne 0x42f58c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42f93c
lea edx, [esi + 0x34]
jmp 0x42f96f
lea edi, [eax - 1]
mov eax, dword [esi + 4]
test eax, eax
je 0x42f960
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42f965
call fcn.00471ad5
mov edx, dword [esi + 4]
imul edi, edi, 0x64
lea edx, [edi + edx + 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
call fcn.00431cb0
mov ebx, dword [esp + 0x38]
add esp, 0xc
xor edi, edi
cmp byte [esp + 0x15], 0
jne 0x42fa50
cmp ebx, edi
jl 0x42f9cc
test byte [esi + 0x50], 1
je 0x42f9cc
lea ecx, [esp + 0x60]
call fcn.004714a6
mov dword [esp + 0x60], vtable.boost::io::bad_format_string.0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
lea edi, [esp + 0x60]
mov dword [esp + 0x80], 1
call fcn.0042e090
cmp dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
jle 0x42fa49
xor ebx, ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x42f9f9
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42f9fe
call fcn.00471ad5
mov eax, dword [esi + 4]
cmp dword [eax + ebx], 0xffffffff
jne 0x42fa3b
test eax, eax
je 0x42fa25
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42fa2a
call fcn.00471ad5
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 4]
mov dword [ebx + edx], eax
add eax, 1
mov dword [esp + 0x30], eax
add edi, 1
add ebx, 0x64
cmp edi, dword [esp + 0x28]
jl 0x42f9d8
xor edi, edi
mov ebx, dword [esp + 0x30]
add ebx, 0xffffffff
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 0x20
call edx
sub esp, 0x64
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [ecx + 0x18], edi
mov edx, 0xf
mov dword [ecx + 0x1c], edx
mov byte [ecx + 8], 0
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x34], edi
mov byte [ecx + 0x24], 0
mov byte [ecx + 0x54], 0
mov dword [ecx + 0x3c], edi
mov dword [ecx + 0x40], 6
mov byte [ecx + 0x44], al
mov dword [ecx + 0x48], 0x201
mov dword [ecx + 0x50], edi
mov dword [ecx + 0x4c], edi
mov dword [ecx + 0x5c], closesocket
mov dword [ecx + 0x60], edi
mov ecx, dword [esp + 0x8c]
mov edx, esi
mov dword [esp + 0xa8], esp
call fcn.00430a90
cmp byte [esp + 0x16], 0
je 0x42fac9
or dword [esi + 0x24], 4
add ebx, 1
cmp byte [esp + 0x15], 0
mov dword [esi + 0x2c], ebx
je 0x42fadc
or dword [esi + 0x24], 1
jmp 0x42fae0
and dword [esi + 0x24], 0xfffffffe
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4