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

Disassembly:
sub esp, 0x2ac
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
push 0x38
push ebp
mov dword [esp + 0x3c], edi
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x44], 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 + 0x24], eax
lea eax, [esp + 0x80]
push eax
call fcn.00460f00
movzx eax, byte [ebx + 0x10]
add esp, 0xc
imul ecx, eax, 0x48
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov eax, dword [ecx + eax + 0x34]
mov dword [esp + 0x38], eax
cmp esi, dword [esp + 0x1c]
jae 0x4534e4
movzx edx, word [esp + 0x78]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
test ebp, ebp
jne 0x4534e4
mov ecx, 0x200
test word [esi + 0xc], cx
je 0x4534d5
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x18], 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 0x4534d1
imul ecx, dword [edi + 0xc], 0x30
lea eax, [esp + 0xb0]
mov esi, dword [esp + 0x34]
push 7
mov dword [esp + 0x30], 1
add ecx, dword [edi + 0x14]
lea edi, [esp + 0x60]
mov dword [esp + 0x24], ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
and dword [esp + 0x64], ebp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esi + 0x14]
jmp 0x453439
mov ecx, 0x400
test word [esi + 0xc], cx
je 0x453200
mov eax, dword [esi + 0x1c]
jmp 0x453242
mov ecx, dword [esp + 0x38]
cmp dword [esi + 0x14], ecx
jne 0x453436
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [esp + 0x120], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x124], ecx
mov byte [esp + 0x128], 0x2c
mov dword [esp + 0x12c], 1
mov dword [esp + 0x134], esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x60], eax
xor eax, eax
mov word [esp + 0xb0], ax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ecx + 0x18]
lea ecx, [esp + 0x5c]
cmp dword [eax + 0x38], 0
je 0x453292
push dword [esp + 0x2cc]
push dword [esp + 0x2cc]
push dword [esp + 0x2cc]
push dword [esp + 0x2cc]
call fcn.00452da5
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x24], ebp
jmp 0x4532ad
push dword [esp + 0x2c4]
push dword [esp + 0x2c4]
call fcn.0045243b
pop ecx
pop ecx
mov ebp, eax
mov dword [esp + 0x24], eax
test ebp, ebp
jne 0x4532df
push dword [esp + 0x2cc]
lea ecx, [esp + 0x60]
push dword [esp + 0x2cc]
push dword [esp + 0x2cc]
push dword [esp + 0x2cc]
call fcn.00453102
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x24], ebp
mov di, word [esp + 0xb0]
test di, di
je 0x453447
cmp dword [esp + 0x2c], 0
je 0x45332d
movzx eax, di
shl eax, 4
push eax
lea eax, [esp + 0xbc]
mov word [esp + 0x7c], di
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00461aa0
movzx edx, word [esp + 0x84]
add esp, 0xc
and dword [esp + 0x2c], 0
jmp 0x45342e
mov eax, dword [esp + 0x14]
mov word [esp + 0xe8], ax
movzx eax, ax
shl eax, 4
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00461aa0
movzx eax, word [esp + 0xf4]
xor edx, edx
add esp, 0xc
mov dword [esp + 0x14], edx
mov word [esp + 0x78], dx
mov dword [esp + 0x30], eax
test eax, eax
je 0x453432
movzx ecx, di
lea edi, [esp + 0xf8]
mov dword [esp + 0x14], edi
xor esi, esi
test ecx, ecx
je 0x453409
movzx eax, word [edi + 2]
lea ebx, [esp + 0xc0]
mov dword [esp + 0x48], eax
movzx eax, word [edi]
mov dword [esp + 0x4c], eax
mov eax, dword [edi - 8]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov eax, dword [edi - 4]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov dx, word [ebx + 2]
mov ecx, edi
call fcn.00407f48
mov dx, word [ebx]
mov ecx, ebp
movzx eax, ax
push eax
call fcn.00407f48
mov ecx, dword [ebx - 4]
or ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
or edx, dword [ebx - 8]
push ecx
push edx
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.004503bb
movzx ecx, word [esp + 0xbc]
lea ebx, [ebx + 0x10]
add esp, 0xc
inc esi
cmp esi, ecx
jl 0x4533b7
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add edi, 0x10
sub eax, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], eax
jne 0x453385
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov dx, word [esp + 0x78]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x20]
add esi, 0x30
mov dword [esp + 0x18], esi
cmp esi, eax
jb 0x4531f0
jmp 0x453452
xor edx, edx
mov dword [esp + 0x14], edx
mov word [esp + 0x78], 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 word [ebx + 0x12], ax
mov byte [ebx + 0x11], al
mov dword [ebx + 0x24], 0x2000
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x4534d1
movzx esi, dx
lea edi, [esp + 0x8a]
cmp eax, esi
jge 0x4534c9
mov ax, word [edi - 2]
mov edx, ebx
mov ecx, dword [edi - 6]
inc ax
mov word [ebx + 0x14], ax
mov ax, word [edi]
mov word [ebx + 0x16], ax
mov eax, dword [edi - 0xa]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebx], eax
call fcn.0045184a
mov ebp, eax
add edi, 0x10
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x45348c
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add esi, 0x30
mov dword [esp + 0x28], esi
cmp esi, eax
jb 0x453179
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x2ac
ret