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

Disassembly:
sub esp, 0x64
mov eax, dword [0x4a4368]
push ebx
push ebp
mov dword [esp + 0x68], eax
push esi
mov esi, ecx
lea eax, [esi + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], ecx
lea eax, [esi + 4]
mov dword [esp + 0x58], edx
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edi
mov dword [esp + 0x2c], eax
push 0x4853f0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x54]
push edx
mov eax, ecx
push eax
call fcn.004125d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
push 0x485400
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x3c], edx
mov edx, dword [esi]
mov dword [esp + 0x44], ecx
push 0
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
mov eax, ecx
push eax
call fcn.004125d0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], edx
mov edx, dword [esi]
add esp, 0xc
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
push 0x485410
lea eax, [esp + 0x44]
push eax
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x24]
push edx
mov eax, ecx
push eax
call fcn.004125d0
lea ebx, [esi + 0x34]
add esp, 0xc
mov ebp, ebx
mov edi, 0xc
lea ebx, [ebx]
movzx edx, word [edi + 0x485434]
movzx eax, word [edi + 0x485432]
lea ecx, [esp + 0x50]
push ecx
push edx
xor edx, edx
mov dx, word [edi + 0x485430]
shl eax, 4
lea ecx, [esp + eax + 0x18]
push ecx
push edx
call fcn.00412640
movzx ecx, word [edi + 0x48543a]
movzx edx, word [edi + 0x485438]
lea eax, [esp + 0x70]
push eax
push ecx
xor ecx, ecx
mov cx, word [edi + 0x485436]
shl edx, 4
lea eax, [esp + edx + 0x28]
push eax
push ecx
call fcn.00412640
push ebp
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.004125d0
add edi, 0xc
add esp, 0x2c
add ebp, 0x10
cmp edi, 0xd8
jb 0x4137f0
mov ecx, dword [esi + 0x264]
shl ecx, 4
lea eax, [ecx + esi]
lea edx, [eax + 0x34]
mov edi, dword [edx]
lea ecx, [esi + 0x154]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebx]
add eax, 0x154
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x264]
mov edi, 2
cmp eax, edi
jb 0x413902
lea ebx, [esi + 0x164]
mov eax, dword [esi + 0x264]
sub eax, edi
shl eax, 4
lea ecx, [eax + esi + 0x44]
mov eax, dword [ecx]
mov edx, ebx
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push ebx
mov ecx, esi
call fcn.00412460
mov eax, dword [esi + 0x264]
inc edi
add ebx, 0x10
cmp edi, eax
jbe 0x4138c5
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0044afa5
add esp, 0x64
ret