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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
xor eax, eax
push edi
mov ebp, dword [esi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x250]
test ah, 4
mov dword [esp + 0x28], ebp
je 0x45cb7e
mov eax, 0x26
jmp 0x45cb87
and al, 1
neg al
sbb eax, eax
and eax, 6
mov ebx, dword [esp + 0x90]
mov ecx, 6
lea edi, [esp + 0x34]
mov edx, dword [esi]
lea eax, [eax + ebx + 0x1a]
mov dword [esp + 0x30], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0x10
push ecx
push edx
push ebp
mov dword [esp + 0x5c], 0xb
mov dword [esp + 0x58], str.UNKNOWN_KEY
mov dword [esp + 0x74], 0xc
mov dword [esp + 0x70], str.UNKNOWN_DATA
call fcn.00410bb0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45d027
mov eax, dword [esp + 0xa0]
and eax, 1
mov dword [esp + 0x1c], eax
je 0x45cc2d
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push 4
push ecx
push ebp
call fcn.00410b60
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45d027
mov edx, dword [esi]
xor edi, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0xffff
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45cc53
cmp di, word [ebx + 0x14]
jae 0x45d027
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x2c]
mov ebp, edi
push 0
push eax
and ebp, 0xffff
push ecx
push 1
push ebp
push edx
push ebx
push esi
call fcn.00419900
mov esi, eax
add esp, 0x20
test esi, esi
je 0x45cd0c
cmp dword [esp + 0x8c], 5
jne 0x45cceb
mov eax, ebp
and eax, 0x80000001
jns 0x45cca1
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x45cceb
mov ecx, dword [esp + 0x18]
dec ebp
and ecx, 0xffff
cmp ecx, ebp
jne 0x45cceb
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
push 0
push eax
push ecx
push 0x4bac74
lea edx, [esp + 0x78]
push 0
push edx
call fcn.00458b60
add esp, 0x1c
test eax, eax
jne 0x45d011
cmp esi, 0xffff8758
je 0x45cfe7
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x80]
inc edi
mov dword [esp + 0x20], edi
jmp 0x45cc41
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x250]
test ah, 4
je 0x45cd25
mov eax, 0x26
jmp 0x45cd2e
and al, 1
neg al
sbb eax, eax
and eax, 6
lea ecx, [eax + ebp*2 + 0x1a]
mov eax, dword [esp + 0x1c]
xor edi, edi
mov di, word [ecx + ebx]
add edi, ebx
test eax, eax
jne 0x45cd4c
test byte [edi + 2], 0x80
jne 0x45cfd2
cmp dword [esp + 0x8c], 5
jne 0x45cdb0
mov edx, ebp
and edx, 0x80000001
jns 0x45cd65
dec edx
or edx, 0xfffffffe
inc edx
cmp edx, 1
jne 0x45cdb0
mov eax, dword [esp + 0x18]
lea ecx, [ebp - 1]
and eax, 0xffff
cmp eax, ecx
je 0x45cdb0
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
push 0
push eax
push ecx
push 0x4bac74
lea edx, [esp + 0x60]
push 0
push edx
call fcn.00458b60
add esp, 0x1c
test eax, eax
jne 0x45d011
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x18], ecx
je 0x45ce07
test cx, cx
jne 0x45cdd5
test dword [esp + 0xa0], 0x80000
jne 0x45ce07
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push 0
push edx
push ecx
push 0x4bac74
push 0
push eax
call fcn.00458b60
add esp, 0x1c
test eax, eax
jne 0x45d011
mov edx, dword [esp + 0x30]
xor eax, eax
mov al, byte [edi + 2]
mov bx, word [edx + ebp*2]
and al, 0x7f
dec eax
je 0x45cf4f
dec eax
je 0x45ceb6
dec eax
jne 0x45cfff
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x88]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push eax
push edi
push ecx
lea esi, [ebx + 0xb]
call fcn.0045efd0
add esp, 0x18
test eax, eax
je 0x45ceb0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x45ce6c
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edi
push 0
push edx
push ecx
push 0x4bac74
push 0
push eax
call fcn.00458b60
add esp, 0x1c
test eax, eax
je 0x45cfa1
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x45cfa1
mov dword [esp + 0x10], eax
jmp 0x45cfa1
lea eax, [esp + 0x34]
jmp 0x45ce70
mov eax, dword [esp + 0x8c]
lea esi, [ebx + 0xb]
cmp eax, 5
jne 0x45cfa1
mov eax, dword [esp + 0x84]
mov edi, dword [edi + 4]
cmp edi, dword [eax + 0x1c]
ja 0x45cf1e
and ebp, 0x80000001
jns 0x45cee5
dec ebp
or ebp, 0xfffffffe
inc ebp
je 0x45cf1e
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
or edx, 0x80000
push edx
mov edx, dword [esp + 0x98]
push ecx
lea ecx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push edi
push eax
push edx
call fcn.00419c30
jmp 0x45ce90
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push 0
push eax
push ecx
push 0x4bac74
lea edx, [esp + 0x60]
push 0
push edx
call fcn.00458b60
add esp, 0x1c
test eax, eax
jne 0x45d011
jmp 0x45cfa1
mov si, word [edi]
mov edx, dword [esp + 0x84]
lea eax, [edi + 3]
xor ecx, ecx
mov dword [esp + 0x34], eax
mov cx, word [edi]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x94]
push edx
add si, bx
push 0
push eax
add esi, 3
push ecx
push 0x4bac74
lea edx, [esp + 0x48]
and esi, 0xfffc
push 0
push edx
dec esi
call fcn.00458b60
add esp, 0x1c
test eax, eax
jne 0x45d01b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45cfcb
mov eax, dword [esp + 0x14]
and ebx, 0xffff
and esi, 0xffff
mov dword [eax + ebx*4], 1
mov ecx, dword [esp + 0x14]
mov dword [ecx + esi*4], 2
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x80]
inc edi
mov dword [esp + 0x20], edi
jmp 0x45cc41
cmp di, word [ebx + 0x14]
jae 0x45d027
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45d027
mov dword [esp + 0x10], 0xffff8704
jmp 0x45d027
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45d027
mov dword [esp + 0x10], 0x16
jmp 0x45d027
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x45d027
jmp 0x45d023
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x45d027
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x45d041
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.00410cc0
add esp, 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45d057
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00410cc0
add esp, 8
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
push edx
call fcn.00458a40
add esp, 8
test eax, eax
je 0x45d079
mov ecx, dword [esp]
test ecx, ecx
jne 0x45d081
add esp, 0x6c
ret
mov eax, dword [esp]
add esp, 0x6c
ret
mov eax, ecx
add esp, 0x6c
ret