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

Disassembly:
sub esp, 0x254
push ebx
mov ebx, dword [esp + 0x260]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
push esi
mov esi, dword [esp + 0x26c]
mov eax, dword [esi + 0xc]
push edi
push eax
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x1c], 0
call dword [edx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x278]
mov ebp, dword [edx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x278]
not ecx
dec ecx
push ecx
push eax
mov ecx, edx
call dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [esi]
push eax
call dword [edx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0xc]
mov edi, dword [esp + 0x27c]
mov ebp, dword [edx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x27c]
not ecx
dec ecx
push ecx
push eax
mov ecx, edx
call dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
mov ebp, dword [ecx + 0xc]
mov edx, ecx
mov ecx, dword [edx + 8]
mov eax, edx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax]
mov eax, dword [ecx]
mov dword [esp + 0x10], edx
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edi, eax
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x10]
add edi, eax
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, dword [ebp]
mov ecx, ebp
add edi, eax
call dword [edx + 0x2c]
add edi, eax
push edi
push 0
push ebx
lea eax, [esp + 0x7c]
mov dword [esp + 0x1c], edi
push eax
call fcn.00421a10
and dword [esp + 0x290], 0x807
mov ecx, dword [esp + 0x284]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx]
mov edx, dword [ecx]
add esp, 0x10
push 0
call dword [edx + 0x24]
jmp 0x437ae0
mov edi, dword [esp + 0x10]
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x437d29
mov ebp, dword [eax + 4]
test ebp, ebp
mov dword [esp + 0x1c], eax
je 0x437d29
mov ecx, dword [ebp + 0x10]
push edi
push 0
lea edx, [esp + 0x78]
push edx
push ebx
mov dword [esp + 0x38], ecx
call fcn.00421af0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 4]
mov edx, dword [ecx]
add esp, 0x10
push eax
mov eax, dword [ebp]
push eax
call dword [edx + 0xc]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebx]
mov edx, dword [ecx]
push 0
push 0
push eax
mov eax, dword [ebx + 0x44]
push eax
call dword [edx + 0x44]
test eax, eax
je 0x437bd4
mov eax, dword [esp + 0x284]
test eax, eax
je 0x437b8b
mov ecx, dword [esp + 0x27c]
mov edx, dword [esi + 8]
mov eax, dword [esi]
push ecx
mov ecx, dword [0x511184]
push edx
mov edx, dword [ecx + 0x24c]
push eax
push 0
push edx
push 0x47b
call fcn.0047ffa0
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
jmp 0x437ae0
mov ecx, dword [ebx + 0x54]
mov esi, dword [ebx + 0x4c]
mov edi, dword [ebx + 0x44]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x78]
push edx
push ebx
mov dword [esp + 0x3c], 0
call fcn.00421af0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 4]
mov edx, dword [ecx]
add esp, 0x10
push eax
mov eax, dword [ebp]
push eax
call dword [edx + 0xc]
jmp 0x437c32
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, eax
and ecx, 0xfffff7f8
and eax, 0x807
shl ecx, 7
or ecx, eax
mov eax, dword [esp + 0x284]
test eax, eax
mov eax, dword [esp + 0x28]
je 0x437c0d
or eax, dword [esp + 0x280]
not eax
and eax, ecx
jmp 0x437c0f
or eax, ecx
mov ecx, dword [ebx + 0x54]
mov esi, dword [ebx + 0x44]
mov edi, dword [ebx + 0x48]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x18]
mov edi, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, edi
shr eax, 7
mov esi, edi
and eax, 0x1ffffef
and esi, 0x807
or eax, esi
push 0
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
test eax, eax
mov ecx, dword [ebx]
mov edx, dword [ecx]
je 0x437cb6
test edi, edi
je 0x437c75
mov eax, dword [ebx + 0x44]
push eax
mov eax, dword [ebx + 0x48]
push eax
call dword [edx + 0x3c]
jmp 0x437c7c
mov eax, dword [ebx + 0x48]
push eax
call dword [edx + 0x40]
test eax, eax
jne 0x437d12
mov eax, dword [ebp + 4]
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x268]
push eax
add ecx, 0x20
push ebp
push ecx
call fcn.00482960
mov esi, dword [esp + 0x27c]
add esp, 0xc
test eax, eax
je 0x437ad9
mov dword [eax + 4], edi
jmp 0x437ad9
mov eax, dword [ebx + 0x44]
push eax
call dword [edx + 0x38]
test eax, eax
jne 0x437d12
push 0xc
call fcn.00471d10
mov esi, eax
add esp, 4
test esi, esi
je 0x437cf0
mov dword [esi + 4], edi
mov eax, dword [ebp + 4]
mov dword [esi + 8], eax
mov ebp, dword [ebp]
push eax
push ebp
push 0x5123b4
call fcn.00481b90
add esp, 0xc
mov dword [esi], eax
jmp 0x437cf2
xor esi, esi
mov ecx, dword [esp + 0x268]
add ecx, 0x20
push esi
push ecx
call fcn.00482b50
mov esi, dword [esp + 0x278]
add esp, 8
jmp 0x437ad9
mov ecx, dword [ebx]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 4]
mov dword [esp + 0x14], 0xffffffff
jmp 0x437f0f
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [esp + 0x284]
test eax, eax
je 0x437f0f
mov ecx, dword [ebx]
mov edx, dword [ecx]
push 0
call dword [edx + 0x24]
mov edx, dword [ebx + 4]
mov edx, dword [edx]
mov edx, dword [edx + 4]
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0
push edi
push edx
mov edx, dword [ebx + 0x44]
push edx
call dword [eax + 0x44]
test eax, eax
jne 0x437f0f
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [ebx + 0x54]
mov esi, dword [ebx + 0x44]
mov edi, dword [ebx + 0x48]
mov ebp, eax
and ebp, 0xfffff7f8
and eax, 0x807
shl ebp, 7
or ebp, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x280]
and ecx, 3
test eax, ebp
rep movsb byte es:[edi], byte [esi]
je 0x437e88
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, 0x3d
not eax
and ebp, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx]
mov edx, ebp
shr edx, 7
mov esi, ebp
and edx, 0x1ffffef
and esi, 0x807
or edx, esi
push 0
push edx
call dword [eax + 4]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [edx + 0x1c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x268]
mov eax, dword [esp + 0x18]
push edx
lea esi, [ecx + 0x20]
push eax
push esi
call fcn.00482960
mov ecx, dword [ebx]
mov edx, dword [ecx]
add esp, 0xc
test ebp, ebp
mov edi, eax
je 0x437e44
mov eax, dword [ebx + 0x44]
push eax
mov eax, dword [ebx + 0x48]
push eax
call dword [edx + 0x3c]
xor esi, esi
cmp eax, esi
jne 0x437eb7
cmp edi, esi
je 0x437e63
mov dword [edi + 4], ebp
jmp 0x437e63
mov eax, dword [ebx + 0x48]
push eax
call dword [edx + 0x40]
test eax, eax
jne 0x437ed8
test edi, edi
je 0x437e61
push edi
push esi
call fcn.00482df0
add esp, 8
xor esi, esi
cmp dword [esp + 0x24], esi
je 0x437e8a
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call fcn.00480080
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jmp 0x437e8a
xor esi, esi
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
test eax, eax
jne 0x437f0f
mov ecx, dword [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x78]
push edx
push ebx
call fcn.00421bd0
add esp, 0x10
test eax, eax
je 0x437d67
jmp 0x437f0f
mov ecx, dword [ebx]
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 4]
cmp dword [esp + 0x24], esi
mov dword [esp + 0x14], 0xffffffff
je 0x437f0f
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x437f02
mov ecx, dword [ebx]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
je 0x437f0f
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
push eax
call fcn.00480080
add esp, 4
mov ebx, dword [ebx]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x28]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret