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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10120c9f
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
test esi, esi
mov edx, dword [ebp + 0x28]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], eax
mov dword [ebx + 0x398], ecx
je 0x10042c77
lea edi, [ebx + 0x3a4]
push esi
mov ecx, edi
call dword [0x1012717c]
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x1c], edx
call dword [0x1012717c]
lea ecx, [esi + 0x3c]
push ecx
lea ecx, [edi + 0x3c]
call dword [0x1012717c]
mov edx, dword [esi + 0x58]
mov dword [edi + 0x58], edx
mov al, byte [esi + 0x5c]
mov byte [edi + 0x5c], al
mov cl, byte [esi + 0x5d]
mov byte [edi + 0x5d], cl
lea edi, [esp + 0x20]
call fcn.100d2250
push 0
mov dword [esp + 0x16c], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push 5
push ecx
push eax
mov dword [ebx + 0x2c8], eax
mov dword [ebx + 0x2cc], ecx
call fcn.1010e550
mov edi, eax
mov esi, edx
push 0
push 0x4c4b40
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
call fcn.100b5be0
add esp, 8
cmp edx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
jg 0x10042cdb
jl 0x10042cd5
cmp eax, edi
jae 0x10042cdb
lea eax, [esp + 0x3c]
jmp 0x10042cdf
lea eax, [esp + 0x5c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x2c0], edx
mov dword [ebx + 0x2c4], eax
mov dword [esp + 0x5c], 0
call fcn.1010d600
mov ebx, dword [ebx + 0x298]
lea esi, [esp + 0x2c]
mov dword [esp + 0x60], eax
call fcn.100b5c40
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x2c8]
mov ecx, dword [esi + 0x2cc]
add eax, edx
adc ecx, edi
mov dword [esp + 0x40], ecx
lea ecx, [esi + 0x2a0]
mov dword [esp + 0x3c], eax
push ecx
lea eax, [ebx + 0x14]
lea ecx, [esp + 0x60]
lea ebx, [esp + 0x40]
call fcn.10025bc0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 8
mov eax, esp
xor ebx, ebx
cmp ecx, ebx
mov dword [eax], edx
mov dword [esp + 0x34], esp
mov dword [eax + 4], ecx
je 0x10042d70
add ecx, 8
mov eax, 1
lock xadd dword [ecx], eax
movzx ecx, byte [0x101552f1]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.10045d70
mov byte [esp + 0x178], 1
mov edi, dword [eax]
mov edx, dword [esi + 0x298]
add esp, 4
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x38], esp
mov dword [ecx + 8], eax
je 0x10042db9
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
add edx, 0x14
lea edi, [esi + 0x2a0]
push edx
call fcn.100da5c0
mov byte [esp + 0x168], bl
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x10042dec
mov ecx, eax
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10042dec
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
lea edi, [esi + 0x158]
mov byte [esi + 0x2e1], bl
call fcn.10050280
mov edi, dword [esi + 0x2c]
cmp dword [esi + 0x28], edi
lea ebx, [esi + 0x24]
jbe 0x10042e0e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x2c], eax
jbe 0x10042e24
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
push edi
push ebx
push eax
push ebx
lea eax, [esp + 0x4c]
push eax
call fcn.100b4f20
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x18]
xor ebx, ebx
mov edx, eax
neg edx
sbb edx, edx
test edx, fcn.1009bff0
mov dword [esi + 0x144], ebx
mov dword [esi + 0x424], ecx
je 0x10042f44
mov edi, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x24]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x34]
xor edx, edx
cmp edi, ebx
mov ecx, fcn.100446f0
mov dword [esp + 0x24], esp
mov dword [eax + 4], edi
je 0x10042e8c
lea eax, [edi + 4]
mov ebx, 1
lock xadd dword [eax], ebx
push edx
push ecx
push 0
lea ecx, [esp + 0x98]
push 0
push ecx
call fcn.10045bb0
add esp, 0x24
mov byte [esp + 0x168], 2
mov edx, dword [esi + 0x148]
mov ecx, dword [edx + 0xc]
push ecx
mov ecx, eax
call fcn.10045d10
mov byte [esp + 0x168], 0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x10042efa
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10042efa
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10042efa
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
test edi, edi
mov dword [esp + 0x168], 0xffffffff
je 0x10043645
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10043645
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10043645
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
jmp 0x10043645
lea ecx, [esi + 0x38]
mov dword [esp + 0x2c], ecx
call fcn.100a8820
test al, al
je 0x10043017
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
lea ecx, [esi + 0x2e4]
push ecx
call edi
add esp, 8
test al, al
je 0x10043017
mov edx, dword [esp + 0x34]
push edx
lea eax, [esi + 0x300]
push eax
call edi
add esp, 8
test al, al
je 0x10043017
mov cl, byte [esi + 0x404]
cmp cl, byte [ebp + 0x20]
jne 0x10043017
mov edi, dword [esp + 0x1c]
lea edx, [esi + 0x408]
mov ecx, edi
call fcn.10014e70
test al, al
je 0x1004301b
sub esp, 8
lea ecx, [esp + 0x28]
mov eax, esp
mov edi, 0x10044a70
mov dword [esp + 0x1c], esp
call fcn.1001cf50
movzx edx, byte [0x101552f1]
push ebx
push edi
push edx
lea eax, [esp + 0x70]
push eax
call fcn.10045ec0
mov edi, eax
lea ecx, [esi + 8]
lea eax, [esp + 0x54]
mov byte [esp + 0x180], 3
call fcn.10045ea0
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, edi
call fcn.10045fe0
add esp, 0x20
lea eax, [esp + 0x5c]
mov byte [esp + 0x168], 0
call fcn.100e1610
jmp 0x10043631
mov edi, dword [esp + 0x1c]
mov dl, byte [ebp + 0x20]
mov byte [esi + 0x404], dl
mov eax, dword [edi]
mov dword [esi + 0x408], eax
mov ecx, dword [edi + 4]
lea ebx, [esi + 0x408]
mov dword [ebx + 4], ecx
mov edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [ebx + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov dword [esp + 0x3c], 0
call fcn.1010d600
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x40], eax
call fcn.100a8820
test al, al
je 0x10043081
lea ecx, [esp + 0x3c]
mov edx, edi
call fcn.100a8960
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x13], 0
jb 0x10043097
add eax, 4
mov eax, dword [eax]
jmp 0x1004309a
add eax, 4
push 0x2e
push eax
call dword [sym.imp.MSVCR80.dll_strrchr]
add esp, 8
test eax, eax
je 0x100431b0
mov edi, str..i2p
mov esi, eax
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x18]
jne 0x100431b0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x100431b0
push edx
mov dword [esi + 0x140], edi
mov eax, dword [esi + 0x2cc]
mov ecx, dword [esi + 0x2c8]
push 4
push eax
push ecx
mov byte [esp + 0x23], 1
call fcn.1010e450
push 0
mov dword [esi + 0x2c8], eax
mov dword [esi + 0x2cc], edx
mov edx, dword [esi + 0x2c4]
mov eax, dword [esi + 0x2c0]
push 4
push edx
push eax
call fcn.1010e450
mov dword [esi + 0x2c0], eax
mov dword [esi + 0x2c4], edx
cmp dword [edi + 0x60], 6
je 0x100431b0
mov esi, fcn.100446f0
xor edi, edi
call fcn.1001cc10
push eax
mov ecx, 0xa0
push ecx
mov ecx, dword [esp + 0x28]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov dword [esp + 0x24], esp
mov dword [eax + 4], ecx
je 0x10043167
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
push edi
push esi
push 0
lea eax, [esp + 0x98]
push 0
push eax
call fcn.10045bb0
add esp, 0x24
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x168], 4
mov edx, dword [ecx + 0x148]
mov ecx, dword [edx + 0xc]
push ecx
mov ecx, eax
call fcn.10045d10
lea eax, [esp + 0x7c]
mov byte [esp + 0x168], 0
call fcn.100e1610
jmp 0x10043631
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x14]
je 0x100431c2
mov edi, dword [esp + 0x38]
add edi, 8
test edi, edi
je 0x100431db
mov eax, dword [edi + 0x58]
cmp eax, 4
je 0x100431d3
cmp eax, 5
jne 0x100431db
cmp byte [ebp + 0x20], 0
jne 0x100431db
xor edi, edi
lea eax, [esp + 0x9c]
push eax
call fcn.10041f60
test edi, edi
mov byte [esp + 0x168], 5
jne 0x100431fb
lea edi, [esp + 0x9c]
mov eax, dword [esp + 0x2c]
push 0
push 0
mov ecx, edi
call fcn.1005b0b0
xor eax, eax
xor edi, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
add esp, 8
lea eax, [esp + 0x5c]
mov ecx, ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x74], edi
call fcn.10014bb0
test al, al
je 0x10043332
mov dword [esp + 0x5c], edi
call fcn.1010d600
cmp dword [ebx], edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 2
je 0x10043265
mov dword [esp + 0x1c], 0x17
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.100a88e0
xor ecx, ecx
mov edi, ebx
lea esi, [esp + 0x7c]
call fcn.10015370
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x30]
mov eax, esi
push eax
call fcn.100a8c40
mov eax, dword [esp + 0x5c]
mov ecx, eax
neg ecx
sbb ecx, ecx
test ecx, fcn.1009bff0
je 0x1004332c
mov esi, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x24]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x34]
xor edx, edx
test esi, esi
mov ecx, fcn.100446f0
mov dword [esp + 0x24], esp
mov dword [eax + 4], esi
je 0x100432db
add esi, 4
mov eax, 1
lock xadd dword [esi], eax
push edx
push ecx
push 0
lea ecx, [esp + 0x98]
push 0
push ecx
call fcn.10045bb0
add esp, 0x24
mov edx, dword [esp + 0x18]
mov byte [esp + 0x168], 6
mov ecx, dword [edx + 0x148]
mov ecx, dword [ecx + 0xc]
push ecx
mov ecx, eax
call fcn.10045d10
lea eax, [esp + 0x7c]
mov byte [esp + 0x168], 5
call fcn.100e1610
lea edx, [esp + 0x9c]
push edx
jmp 0x10043624
mov esi, dword [esp + 0x18]
xor edi, edi
mov eax, dword [esp + 0x3c]
mov ecx, eax
neg ecx
sbb ecx, ecx
test ecx, fcn.1009bff0
je 0x100433b8
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, edi
mov edx, fcn.100446f0
mov dword [esp + 0x24], esp
mov dword [eax + 4], ecx
je 0x10043375
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
push edi
push edx
push edi
lea ecx, [esp + 0x98]
push edi
push ecx
call fcn.10045bb0
add esp, 0x24
mov byte [esp + 0x168], 7
mov edx, dword [esi + 0x148]
mov ecx, dword [edx + 0xc]
push ecx
mov ecx, eax
call fcn.10045d10
lea eax, [esp + 0x7c]
mov byte [esp + 0x168], 5
call fcn.100e1610
jmp 0x1004361c
cmp byte [esp + 0x13], 0
je 0x1004345a
mov ecx, dword [esp + 0x20]
sub esp, 0x20
mov dword [esp + 0x34], esp
mov dword [esp + 0x3c], esp
sub esp, 0x10
mov dword [esp + 0x5c], esp
mov dword [esp + 0x44], esp
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, edi
mov edx, 0x10043d70
mov dword [esp + 0x64], esp
mov dword [eax + 4], ecx
je 0x10043404
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
movzx ecx, byte [0x101552f5]
mov eax, dword [esp + 0x4c]
push edi
push edx
movzx edx, byte [0x101552f1]
push ecx
push edx
push eax
call fcn.10046180
mov edi, dword [esp + 0x68]
add esp, 0x1c
call fcn.100460d0
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x18], 0x10
jb 0x10043448
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x58]
push eax
call fcn.100569b0
jmp 0x100435fe
mov ecx, dword [esp + 0x58]
lea eax, [edi + 4]
push eax
call fcn.100569b0
jmp 0x100435fe
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x10043508
cmp byte [eax + 0x5c], 0
je 0x10043508
mov eax, dword [eax + 0x58]
cmp eax, 2
je 0x10043481
cmp eax, 3
jne 0x10043508
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0x2e4]
call dword [0x1012717c]
mov ebx, dword [esp + 0x34]
push ebx
lea ecx, [esi + 0x300]
call dword [0x1012717c]
cmp dword [ebx + 0x18], 0x10
jb 0x100434ae
mov ebx, dword [ebx + 4]
jmp 0x100434b1
add ebx, 4
xor eax, eax
push ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
call dword [sym.imp.MSVCR80.dll_atoi]
movzx ecx, ax
add esp, 4
lea edi, [esp + 0x3c]
lea esi, [esp + 0x7c]
call fcn.10015370
mov esi, dword [esp + 0x18]
lea ebx, [esi + 0x354]
lea eax, [esp + 0x7c]
call fcn.10045860
mov ecx, esi
call fcn.100441c0
jmp 0x100435fa
add esi, 0x354
call fcn.100241a0
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0xfc]
call fcn.10045890
sub esp, 8
mov bl, 8
mov byte [esp + 0x170], bl
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
xor esi, esi
test ecx, ecx
mov edx, 0x10043f30
mov dword [esp + 0x1c], esp
mov dword [eax + 4], ecx
je 0x1004355d
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
movzx ecx, byte [0x101552f5]
push esi
push edx
movzx edx, byte [0x101552f1]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
call fcn.10046180
mov edx, dword [esp + 0x34]
mov byte [esp + 0x184], 9
mov edi, dword [eax]
mov esi, dword [edx + 0x148]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov dword [ecx + 8], edi
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x24], esp
mov dword [ecx + 0xc], eax
je 0x100435ba
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea eax, [esp + 0x10c]
push eax
add edx, 0x14c
push edx
lea ecx, [esi + 0x14]
call fcn.10048d20
lea eax, [esp + 0x3c]
mov byte [esp + 0x168], bl
call fcn.100e1610
lea ecx, [esp + 0xfc]
push ecx
mov byte [esp + 0x16c], 5
call fcn.10043670
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
push edi
lea ecx, [esi + 0x2e4]
call dword [0x1012717c]
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esi + 0x300]
call dword [0x1012717c]
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x16c], 0
call fcn.10042260
lea eax, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.10086b50
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret 0x28