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

Disassembly:
sub esp, 0x2b4
mov eax, dword [0x490004]
xor eax, esp
mov dword [esp + 0x2ac], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
push 0x38
push ebp
mov dword [esp + 0x40], edi
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], ebx
mov esi, dword [eax + 0x14]
imul eax, dword [eax + 0xc], 0x30
mov dword [esp + 0x30], esi
add eax, esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x218]
push eax
call fcn.00462ad0
movzx eax, byte [ebx + 0x10]
add esp, 0xc
imul ecx, eax, 0x48
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov eax, dword [ecx + eax + 0x34]
mov dword [esp + 0x3c], eax
cmp esi, dword [esp + 0x18]
jae 0x455514
movzx edx, word [esp + 0x210]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
test ebp, ebp
jne 0x455514
mov ecx, 0x200
test word [esi + 0xc], cx
je 0x455505
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x20], edi
mov ecx, dword [edi + 0x198]
mov eax, dword [edi + 0x19c]
and ecx, dword [ebx + 8]
and eax, dword [ebx + 0xc]
or ecx, eax
je 0x455501
imul ecx, dword [edi + 0xc], 0x30
lea eax, [esp + 0x248]
mov esi, dword [esp + 0x38]
push 7
mov dword [esp + 0x34], 1
add ecx, dword [edi + 0x14]
lea edi, [esp + 0x60]
mov dword [esp + 0x20], ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
and dword [esp + 0x64], ebp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 0x14]
jmp 0x45546a
mov ecx, 0x400
test word [esi + 0xc], cx
je 0x455231
mov eax, dword [esi + 0x1c]
jmp 0x45526a
mov ecx, dword [esp + 0x3c]
cmp dword [esi + 0x14], ecx
jne 0x455467
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x80], 0x2c
mov dword [esp + 0x84], 1
mov dword [esp + 0x8c], esi
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], eax
xor eax, eax
mov word [esp + 0x248], ax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + ecx + 0x18]
lea ecx, [esp + 0x5c]
cmp dword [eax + 0x38], 0
je 0x4552ba
push dword [esp + 0x2d4]
push dword [esp + 0x2d4]
push dword [esp + 0x2d4]
push dword [esp + 0x2d4]
call fcn.00454dc5
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x24], ebp
jmp 0x4552d5
push dword [esp + 0x2cc]
push dword [esp + 0x2cc]
call fcn.00454433
pop ecx
pop ecx
mov ebp, eax
mov dword [esp + 0x24], eax
test ebp, ebp
jne 0x455307
push dword [esp + 0x2d4]
lea ecx, [esp + 0x60]
push dword [esp + 0x2d4]
push dword [esp + 0x2d4]
push dword [esp + 0x2d4]
call fcn.00455122
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x24], ebp
mov di, word [esp + 0x248]
test di, di
je 0x455478
cmp dword [esp + 0x30], 0
je 0x455358
movzx eax, di
shl eax, 4
push eax
lea eax, [esp + 0x254]
mov word [esp + 0x214], di
push eax
lea eax, [esp + 0x220]
push eax
call fcn.00463550
movzx edx, word [esp + 0x21c]
add esp, 0xc
and dword [esp + 0x30], 0
jmp 0x45545f
mov eax, dword [esp + 0x14]
mov word [esp + 0x280], ax
movzx eax, ax
shl eax, 4
push eax
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x290]
push eax
call fcn.00463550
movzx eax, word [esp + 0x28c]
xor edx, edx
add esp, 0xc
mov dword [esp + 0x14], edx
mov word [esp + 0x210], dx
mov dword [esp + 0x34], eax
test eax, eax
je 0x455463
movzx ecx, di
lea edi, [esp + 0x290]
mov dword [esp + 0x14], edi
xor esi, esi
test ecx, ecx
je 0x455437
movzx eax, word [edi + 2]
lea ebx, [esp + 0x258]
mov dword [esp + 0x4c], eax
movzx eax, word [edi]
mov dword [esp + 0x50], eax
mov eax, dword [edi - 8]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [edi - 4]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov dx, word [ebx + 2]
mov ecx, edi
call fcn.00407f28
mov dx, word [ebx]
mov ecx, ebp
movzx eax, ax
push eax
call fcn.00407f28
mov ecx, dword [ebx - 4]
or ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
or edx, dword [ebx - 8]
push ecx
push edx
mov edx, eax
lea ecx, [esp + 0x21c]
call fcn.00452367
movzx ecx, word [esp + 0x254]
lea ebx, [ebx + 0x10]
add esp, 0xc
inc esi
cmp esi, ecx
jl 0x4553e5
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add edi, 0x10
sub eax, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], eax
jne 0x4553b3
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dx, word [esp + 0x210]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
add esi, 0x30
mov dword [esp + 0x20], esi
cmp esi, eax
jb 0x455221
jmp 0x455486
xor edx, edx
mov dword [esp + 0x14], edx
mov word [esp + 0x210], dx
mov esi, dword [esp + 0x28]
lea edi, [ebx + 0x18]
xor eax, eax
inc eax
mov word [ebx + 0x28], ax
mov eax, dword [ebx + 0x30]
mov dword [eax], esi
xor eax, eax
mov dword [ebx + 0x24], 0x2000
mov word [ebx + 0x12], ax
mov byte [ebx + 0x11], al
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
test ebp, ebp
jne 0x455501
movzx eax, dx
lea esi, [esp + 0x222]
mov dword [esp + 0x2c], eax
cmp edi, eax
jge 0x4554f9
mov ax, word [esi - 2]
mov edx, ebx
mov ecx, dword [esi - 6]
inc ax
mov word [ebx + 0x14], ax
mov ax, word [esi]
mov word [ebx + 0x16], ax
mov eax, dword [esi - 0xa]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx], eax
call fcn.00453817
mov ebp, eax
inc edi
mov eax, dword [esp + 0x2c]
add esi, 0x10
test ebp, ebp
je 0x4554c0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add esi, 0x30
mov dword [esp + 0x28], esi
cmp esi, eax
jb 0x4551aa
mov ecx, dword [esp + 0x2bc]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004614f6
add esp, 0x2b4
ret