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

Disassembly:
push 0xffffffffffffffff
push 0x55d635
mov eax, dword fs:[0]
push eax
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x128]
xor esi, esi
cmp dword [ebp + 0xbc], esi
jne 0x451275
xor eax, eax
jmp 0x4517d7
mov edi, dword [esp + 0x12c]
mov eax, ebp
mov dword [esp + 0x18], esi
call fcn.0044fb50
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
mov ecx, ebx
mov dword [esp + 0x24], ebx
call edx
mov edi, eax
mov ecx, edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], edi
call fcn.0043cd30
lea ecx, [esp + 0x20]
call fcn.004949f0
mov dword [esp + 0x120], esi
or eax, 0xffffffff
or ecx, eax
or edx, eax
mov word [esp + 0x1c], ax
or eax, eax
mov word [esp + 0x32], ax
mov eax, dword [ebp + 0xbc]
mov word [esp + 0x1e], cx
push eax
xor eax, eax
mov ecx, ebx
lea esi, [esp + 0x8c]
mov word [esp + 0x34], dx
call fcn.0044ee50
lea ecx, [esp + 0x30]
push ecx
lea esi, [esp + 0x50]
call fcn.004d03d0
lea edx, [esp + 0x88]
mov byte [esp + 0x16], al
push edx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
call fcn.0044ee80
test al, al
je 0x451785
cmp word [esp + 0x1c], 0
jne 0x451529
mov esi, dword [esp + 0x12c]
mov eax, ebp
dec esi
call fcn.0044fa00
cmp esi, eax
jl 0x451529
movzx eax, byte [ebp + 0x7d]
mov edi, dword [ebp + 0x30]
push eax
lea ecx, [esp + 0xbc]
push ecx
call fcn.0044dbd0
mov byte [esp + 0x120], 1
lea edx, [esp + 0xb8]
mov edi, esi
push edx
mov esi, ebp
call fcn.0044fb70
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
call edx
test al, al
je 0x451510
lea ecx, [esp + 0x38]
call fcn.004949f0
mov byte [esp + 0x120], 2
or eax, 0xffffffff
or ecx, eax
mov word [esp + 0x2c], ax
mov eax, dword [ebp + 0xbc]
mov word [esp + 0x2e], cx
push eax
mov eax, 1
mov ecx, ebx
lea esi, [esp + 0x9c]
call fcn.0044ee50
mov edx, esi
push edx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
call fcn.0044ee80
test al, al
je 0x4514ff
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
cmp word [esp + 0x2e], ax
jne 0x4514ff
lea eax, [esp + 0x20]
call fcn.00407eb0
mov ecx, eax
or eax, 0xffffffff
lea edi, [esp + 0x38]
call fcn.00494d50
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
mov ecx, ebx
call edx
mov ecx, dword [ebp + 0xbc]
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x38]
push edx
call eax
test al, al
je 0x451489
or ecx, 0xffffffff
or edx, ecx
mov word [esp + 0x48], cx
mov ecx, edi
lea eax, [esp + 0x6c]
mov word [esp + 0x4a], dx
call fcn.0043cd30
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x70]
call fcn.004d03d0
mov edx, dword [esp + 0x2c]
push 1
push ebx
mov ecx, esi
push ecx
push edi
mov byte [esp + 0x27], al
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2f]
push ecx
call fcn.00451e70
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push 0
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push ecx
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2e]
push ecx
call fcn.00451e70
jmp 0x4514cb
mov eax, edi
call fcn.00452440
test eax, eax
jle 0x4514d0
mov eax, edi
call fcn.00452330
mov eax, dword [eax]
mov dword [esp + 0x58], eax
shr eax, 0x10
cmp ax, word [esp + 0x2c]
jl 0x4514d0
push edi
lea esi, [esp + 0x88]
call fcn.00452340
mov eax, dword [esp + 0x5a]
mov ecx, dword [esp + 0x58]
mov edx, dword [ebx]
mov edx, dword [edx + 0x58]
push eax
push ecx
mov ecx, ebx
call edx
or dword [esp + 0x18], 1
mov byte [esp + 0x120], 1
lea ecx, [esp + 0x38]
call fcn.00494b70
mov byte [esp + 0x120], 0
lea eax, [esp + 0xb8]
push eax
call fcn.0044ddc0
mov ebx, dword [esp + 0x24]
jmp 0x451764
mov byte [esp + 0x120], 1
lea ecx, [esp + 0x38]
call fcn.00494b70
mov byte [esp + 0x120], 0
lea ecx, [esp + 0xb8]
push ecx
call fcn.0044ddc0
mov ebx, dword [esp + 0x24]
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
cmp word [esp + 0x1e], ax
jne 0x45172d
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
test al, al
je 0x45172d
mov esi, dword [esp + 0x12c]
lea eax, [ebp + 4]
inc esi
call fcn.00403c30
cmp esi, eax
jge 0x45172d
movzx ecx, byte [ebp + 0x7d]
mov edi, dword [ebp + 0x30]
push ecx
lea edx, [esp + 0xec]
push edx
call fcn.0044dbd0
mov byte [esp + 0x120], 3
lea eax, [esp + 0xe8]
mov edi, esi
push eax
mov esi, ebp
call fcn.0044fb70
lea ecx, [esp + 0x3c]
mov ebx, eax
call fcn.004949f0
mov byte [esp + 0x120], 4
mov eax, dword [ebp + 0xbc]
or ecx, 0xffffffff
or edx, ecx
mov word [esp + 0x28], cx
push eax
xor eax, eax
mov ecx, ebx
lea esi, [esp + 0xac]
mov word [esp + 0x2e], dx
call fcn.0044ee50
mov eax, esi
push eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x40]
call fcn.0044ee80
test al, al
je 0x451703
cmp word [esp + 0x28], 0
jne 0x451703
lea eax, [esp + 0x3c]
call fcn.00407eb0
mov ecx, eax
or eax, 0xffffffff
lea edi, [esp + 0x20]
call fcn.00494d50
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
mov ecx, dword [ebp + 0xbc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov edi, eax
lea eax, [esp + 0x20]
push eax
call edx
test al, al
je 0x451696
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
push 0
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2e]
push edx
call fcn.00451e70
or eax, 0xffffffff
or ecx, eax
mov word [esp + 0x44], ax
mov word [esp + 0x46], cx
mov ecx, edi
lea eax, [esp + 0x78]
call fcn.0043cd30
lea edx, [esp + 0x44]
push edx
lea esi, [esp + 0x7c]
call fcn.004d03d0
mov ecx, dword [esp + 0x28]
push 1
push ebx
mov byte [esp + 0x1f], al
mov eax, esi
push eax
push edi
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x2f]
push eax
call fcn.00451e70
jmp 0x4516d2
mov eax, edi
call fcn.00452440
test eax, eax
jle 0x4516d7
mov eax, edi
call fcn.004d03c0
mov eax, dword [eax]
cmp ax, word [esp + 0x2a]
mov dword [esp + 0x64], eax
jg 0x4516d7
push edi
lea esi, [esp + 0x64]
call fcn.0040a420
mov eax, dword [esp + 0x66]
mov ecx, dword [esp + 0x64]
mov edx, dword [ebx]
mov edx, dword [edx + 0x58]
push eax
push ecx
mov ecx, ebx
call edx
or dword [esp + 0x18], 2
mov byte [esp + 0x120], 3
lea ecx, [esp + 0x3c]
call fcn.00494b70
mov byte [esp + 0x120], 0
lea eax, [esp + 0xe8]
push eax
call fcn.0044ddc0
mov ebx, dword [esp + 0x24]
jmp 0x451764
mov byte [esp + 0x120], 3
lea ecx, [esp + 0x3c]
call fcn.00494b70
mov byte [esp + 0x120], 0
lea ecx, [esp + 0xe8]
push ecx
call fcn.0044ddc0
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp + 0xbc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x20]
push eax
call edx
test al, al
je 0x451764
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
push 0
push ebx
lea eax, [esp + 0x54]
push eax
push ecx
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2e]
push ecx
call fcn.00451e70
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
call fcn.0044ee80
test al, al
jne 0x45131a
mov edi, dword [esp + 0x40]
cmp byte [esp + 0x16], 0
je 0x4517bf
lea esp, [esp]
lea eax, [esp + 0x60]
push eax
lea esi, [esp + 0x50]
call fcn.004523b0
mov eax, dword [esp + 0x32]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx]
mov edx, dword [edx + 0x58]
push eax
push ecx
mov ecx, ebx
call edx
lea eax, [esp + 0x30]
push eax
call fcn.004d03d0
test al, al
jne 0x451790
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00494b70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 8