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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1014]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
xor ebx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], ebx
call eax
cmp al, 0xc
je 0x3420a39f
push esi
mov esi, dword [esp + 0xa0]
cmp dword [esi + 0x100c], ebx
mov ebx, dword [esp + 0xa4]
je 0x342a11a9
test byte [ebx], 8
jne 0x3420a2e7
cmp dword [esi + 0x100c], 0
je 0x342a11b9
test byte [ebx], 8
mov eax, dword [esp + 0x1c]
jne 0x3420a2ce
cmp eax, dword [esi + 0x1010]
jb 0x3427d6ee
cmp eax, 0x3fffffff
ja 0x342a11c9
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push ecx
push ebp
mov ecx, edi
call fcn.34209ff2
mov ecx, dword [ebx]
and ecx, 8
jne 0x3420a300
mov edx, dword [edi + 0x1010]
cmp edx, dword [esp + 0x1c]
sbb eax, eax
neg eax
mov dword [esp + 0x20], eax
xor esi, esi
cmp ecx, esi
jne 0x3420a38e
mov eax, dword [edi + 0x1008]
cmp eax, esi
je 0x34245e3a
cmp dword [esp + 0x1c], 0xee8
ja 0x34245e3a
cmp dword [edi + 0x1004], esi
jne 0x34245e3a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax]
cmp edx, 0x1000
ja 0x342a11dc
push ecx
mov ecx, dword [ebp + 4]
push ecx
lea edx, [eax + edi + 4]
push edx
call sub.msvcr80.dll_memcpy
add esp, 0xc
test byte [ebx], 8
jne 0x3420a38e
cmp dword [esp + 0x20], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov dword [edi + 0x102c], 0
je 0x3420a380
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x1010], ecx
mov eax, 1
cmp dword [ebp + 0x18], eax
je 0x342a12e1
mov eax, dword [esp + 0x50]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x88
ret 0xc
test byte [ebp + 8], 1
jne 0x342a1188
test byte [ebp + 0x10], 1
je 0x3420a28c
jmp 0x342a1188
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x1010]
cmp ecx, eax
ja 0x342a11ef
push ebx
push eax
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
mov ecx, edi
call fcn.34245b17
test byte [ebx], 8
je 0x34245e8c
jmp 0x342a11f6
mov esi, dword [esp + 0x9c]
push ebx
lea ecx, [esp + 0x38]
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x7c], 0
call fcn.34245d66
test byte [ebx], 8
jne 0x34246051
push 4
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x3c]
call fcn.341f497e
mov ebp, eax
test ebp, ebp
je 0x342a121e
mov eax, dword [esp + 0x14]
add eax, 4
push eax
push 1
push ebp
lea ecx, [esp + 0x40]
call fcn.3420bb56
test eax, eax
je 0x342a1231
test byte [ebx], 8
jne 0x342a1244
lea ecx, [esp + 0x80]
push ecx
push ebp
lea ecx, [esp + 0x3c]
call fcn.341f8f44
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x14]
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
push edx
push eax
add ecx, 4
push ecx
call sub.msvcr80.dll_memcpy
add esp, 0xc
test byte [ebx], 8
jne 0x342a1244
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
call fcn.341f4fa3
mov ecx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [edi + 0x1018]
mov dword [esp + 0x30], ebp
call fcn.341f442b
test byte [ebx], 8
je 0x34245fba
jmp 0x342a1244
cmp eax, esi
mov ecx, 0xff
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 8
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x10], esi
jne 0x34245ae5
mov ecx, dword [edi + 0x1018]
cmp ecx, esi
je 0x34245ae5
cmp dword [ecx + 4], esi
jle 0x34245ae5
push esi
call fcn.341f50a2
cmp dword [eax], esi
je 0x34245ae5
mov eax, 0x80c121b3
mul dword [ebp + 0x10]
shr edx, 0xb
test byte [ebx], 8
mov dword [esp + 0x18], edx
jne 0x34246091
mov ecx, edx
imul ecx, ecx, 0xfe8
lea eax, [edx - 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov eax, dword [ebp + 8]
cmp esi, eax
jae 0x34246091
sub eax, dword [esp + 0x10]
sub esi, ecx
add esi, dword [ebp + 0x10]
mov ecx, eax
mov eax, 0xfe8
sub eax, esi
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x34245ee0
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x1018]
cmp edx, dword [ecx + 4]
jge 0x342a1217
push edx
call fcn.341f50a2
mov ebp, dword [eax]
test ebp, ebp
je 0x34245c10
push ebx
push ebp
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.342463d5
lea ecx, [esp + 0x74]
push ecx
push ebp
lea ecx, [esp + 0x3c]
call fcn.341f8f44
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
lea eax, [esi + edx]
lea edx, [ecx - 4]
cmp edx, eax
jae 0x3427d794
add eax, 4
cmp eax, 0x1000
mov dword [esp + 0x24], eax
ja 0x342a12ce
mov edx, dword [esp + 0x74]
push ecx
push edx
add edi, 4
push edi
call sub.msvcr80.dll_memcpy
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x20]
add edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
push edx
lea ecx, [esi + eax + 8]
push ecx
call sub.msvcr80.dll_memcpy
mov edx, dword [esp + 0x3c]
add esp, 0x18
push edx
push edi
push ebp
lea ecx, [esp + 0x40]
mov dword [edi], 0
call fcn.3420ba97
test eax, eax
je 0x342a12b4
mov edi, dword [esp + 0x2c]
test byte [ebx], 8
jne 0x34246051
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
call fcn.341f4fa3
test byte [ebx], 8
jne 0x34246051
cmp dword [esp + 0x18], 0
je 0x34246051
mov ecx, dword [edi + 0x1018]
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx + 4]
jge 0x342a12c7
push eax
call fcn.341f50a2
mov esi, dword [eax]
mov ecx, 0xff
push ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], ecx
xor eax, eax
push esi
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], 8
mov dword [esp + 0x78], eax
call fcn.342463d5
test byte [ebx], 8
jne 0x3424603f
lea edx, [esp + 0x8c]
push edx
push esi
lea ecx, [esp + 0x5c]
call fcn.341f8f44
mov eax, dword [esp + 0x8c]
mov dword [eax], ebp
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.341f4fa3
mov eax, dword [esp + 0x54]
test eax, eax
je 0x34246051
add eax, 0x4c
or edx, 0xffffffff
lock xadd dword [eax], edx
mov eax, dword [ebx]
and eax, 8
jne 0x34246075
add dword [esp + 0x28], 0xfe8
mov ecx, 1
add dword [esp + 0x18], ecx
add dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
add dword [esp + 0x10], ecx
test eax, eax
mov ebp, dword [esp + 0x9c]
jne 0x34246091
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jmp 0x34245eb7
mov eax, dword [esp + 0x34]
test eax, eax
je 0x3420a359
add eax, 0x4c
or edx, 0xffffffff
lock xadd dword [eax], edx
jmp 0x3420a359
push ebx
push esi
push eax
jmp 0x3420a2df
cmp dword [esp + 0x20], 0
jne 0x34245f32
jmp 0x342a128a
mov ecx, dword [esp + 0xa0]
push 1
push 0xfffffa09
call fcn.341f7675
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret 0xc
push ebx
push 0
push ebp
mov ecx, esi
call fcn.34203b8d
jmp 0x3420a2a7
push ebx
push 0
push ebp
mov ecx, esi
call fcn.34203b8d
jmp 0x3420a2b9
push 1
push 0xfffffbe9
mov ecx, ebx
call fcn.341f7675
jmp 0x3420a2e7
push 1
push 0xfffffbe9
mov ecx, ebx
call fcn.341f7675
jmp 0x3420a359
mov eax, ecx
jmp 0x34245af6
mov eax, dword [esp + 0x34]
test eax, eax
je 0x342a1208
add eax, 0x4c
or edx, 0xffffffff
lock xadd dword [eax], edx
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret 0xc
xor ebp, ebp
jmp 0x34245c10
push 1
push 0xfffffc0c
mov ecx, ebx
call fcn.341f7675
jmp 0x34245ca7
push 1
push 0xfffffc0c
mov ecx, ebx
call fcn.341f7675
jmp 0x34245c6c
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x54], 1
je 0x342a1259
mov eax, dword [eax + 0xc]
jmp 0x342a125b
xor eax, eax
mov ecx, dword [edi + 0x1038]
lea edx, [esp + 0x54]
push edx
push 1
push eax
call fcn.3421a1c4
test dword [esp + 0x54], 0xfffffffe
je 0x34245fb1
lea ecx, [esp + 0x54]
call fcn.341fd218
jmp 0x34245fb1
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x14]
add edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x78]
push edx
lea ecx, [eax + esi + 4]
push ecx
call sub.msvcr80.dll_memcpy
add esp, 0xc
jmp 0x34245f9a
push 1
push 0xfffffc0c
mov ecx, ebx
call fcn.341f7675
jmp 0x34245f96
xor esi, esi
jmp 0x34245fe0
push 1
push 0xfffffbe9
mov ecx, ebx
call fcn.341f7675
jmp 0x34245f9a
cmp dword [edi + 0x1004], 0
jne 0x3420a38e
mov dword [edi + 0x1004], eax
jmp 0x3420a38e