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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fe8be2
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x46039020]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x420]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x45e785b8
cmp edi, 1
je 0x45e785b8
cmp edi, 4
jne 0x45e7861b
mov cl, byte [0x4603ba48]
test cl, cl
jne 0x45e785a5
cmp edi, 4
jne 0x45e78663
cmp eax, ebx
je 0x45e785d7
cmp esi, ebx
jne 0x45e78673
lea eax, [esp + 0x1c]
push eax
push 0x3ec
push 0x45dc6268
mov esi, 0x80004005
push esi
mov dword [esp + 0x2c], ebx
call fcn.45f85675
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], 0x45dc096c
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], ebx
push 0x45ff0f98
lea eax, [esp + 0x5c]
jmp 0x45e7865d
lea eax, [esp + 0x10]
push eax
push 0x3ea
push 0x45dc6268
mov esi, 0x80004005
push esi
mov dword [esp + 0x20], ebx
call fcn.45f85675
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], 0x45dc096c
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], ebx
push 0x45ff0f98
lea eax, [esp + 0x6c]
push eax
call fcn.45fb1416
cmp eax, ebx
jne 0x45e785d7
cmp esi, ebx
jne 0x45e785d7
mov cl, byte [0x4603ba48]
test cl, cl
jne 0x45e785c2
mov dword [esp + 0x44], 0x45db9a8c
mov dword [esp + 0x428], ebx
mov dword [esp + 0x4c], 0x1e28
mov dword [esp + 0x50], 0x1e29
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x428], 1
push 0x18
call fcn.45dd9695
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x428], 2
cmp eax, ebx
je 0x45e786d5
call fcn.45e156ba
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x45e786db
mov dword [esp + 0x10], ebx
mov esi, ebx
mov byte [esp + 0x428], 1
mov dword [esp + 0x34], esi
mov byte [esp + 0x428], 3
lea eax, [esp + 0xe4]
push eax
call fcn.45e11a70
mov byte [esp + 0x428], 4
lea eax, [esp + 0xfc]
push eax
call fcn.45e55282
mov byte [esp + 0x428], 5
lea eax, [esp + 0xfc]
mov dword [esp + 0x18], eax
cmp edi, 4
jne 0x45e7873f
mov ecx, dword [esp + 0x48]
mov edi, esi
call fcn.45eee7bc
mov eax, dword [esp + 0x38]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x84]
push eax
call fcn.45e2774a
mov byte [esp + 0x428], 6
mov dword [esp + 0x14], ebx
mov byte [esp + 0x428], 7
mov ecx, dword [0x4603ba4c]
add ecx, 0x594
mov dword [esp + 0x20], ebx
mov eax, dword [ecx]
push 2
call dword [eax + 0x220]
test al, al
je 0x45e78873
cmp edi, 4
je 0x45e78812
lea eax, [esp + 0x9c]
push eax
call fcn.45e11a70
mov byte [esp + 0x428], 8
lea eax, [esp + 0xb4]
call fcn.45e16f25
mov byte [esp + 0x428], 9
push ebx
push ebx
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push eax
push ebx
push 1
xor ecx, ecx
call fcn.45edec77
add esp, 0x1c
mov edi, esi
lea ecx, [esp + 0x9c]
call fcn.45eee7bc
mov byte [esp + 0x428], 8
lea esi, [esp + 0xb4]
call fcn.45f12a1a
mov byte [esp + 0x428], 7
lea eax, [esp + 0x9c]
push eax
call fcn.45e11aad
mov esi, dword [esp + 0x10]
mov ecx, dword [0x4603ba4c]
lea edx, [esp + 0x20]
push edx
push 2
push ebx
push dword [esp + 0x24]
lea edx, [esp + 0x94]
push 1
add ecx, 0x594
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x22c]
mov ecx, dword [0x4603ba4c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x144]
add ecx, 0xc8
push eax
lea edi, [esp + 0x88]
call fcn.45ea7853
lea eax, [esp + 0x144]
push eax
call fcn.45ea788e
jmp 0x45e788fd
cmp edi, ebx
je 0x45e78881
cmp edi, 4
je 0x45e78881
xor eax, eax
inc eax
jmp 0x45e78884
push 2
pop eax
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x16c]
push esi
push eax
call fcn.45e09afb
mov byte [esp + 0x428], 0xa
push ebx
push 0x45db99e0
lea ecx, [esp + 0x16c]
call fcn.45e81ce1
push ebx
lea ecx, [esp + 0x168]
call fcn.45e82fd9
mov dword [esp + 0x1c], eax
cmp eax, 1
jne 0x45e788e9
cmp dword [esi + 8], eax
jl 0x45e788e9
mov eax, dword [esp + 0x2d0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c0]
mov dword [esp + 0x3c0], ebx
mov dword [esp + 0x14], eax
mov byte [esp + 0x428], 7
lea ecx, [esp + 0x164]
call fcn.45e09c58
push 0x1e28
call fcn.45fabbb1
cmp dword [esp + 0x1c], 1
mov byte [esp + 0x54], 1
jne 0x45e78b31
cmp dword [esi + 8], 1
jl 0x45e78b31
lea eax, [esp + 0xcc]
call fcn.45e279d0
mov byte [esp + 0x428], 0xb
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x1c]
mov edi, esi
call fcn.45e55d7b
mov dword [esp + 0x24], 0x45dc94cc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x428], 0xc
lea ecx, [esp + 0x24]
call fcn.45eaa20b
xor eax, eax
cmp dword [esp + 0x28], ebx
je 0x45e7897b
mov eax, dword [esp + 0x28]
jmp 0x45e78986
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x45e78986
lea eax, [ecx + 8]
mov ecx, dword [0x4603ba4c]
mov dword [eax + 0xa8], ebx
lea eax, [esp + 0x124]
add ecx, 0xc8
push eax
lea edi, [esp + 0x88]
call fcn.45ea7853
mov byte [esp + 0x428], 0xd
lea eax, [esp + 0x78]
push eax
call fcn.45e26173
mov byte [esp + 0x428], 0xe
mov ecx, dword [0x4603ba4c]
add ecx, 0x594
mov eax, dword [ecx]
call dword [eax + 0x290]
test al, al
je 0x45e789fd
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x45e789fd
cmp dword [ecx + 0xc], ebx
jne 0x45e789fd
mov dword [esp + 0x14], ebx
cmp ecx, ebx
je 0x45e789f9
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x14], ebx
push 0x45dc08a4
lea esi, [esp + 0x44]
call fcn.45f8f423
mov byte [esp + 0x428], 0xf
xor esi, esi
cmp dword [esp + 0x28], ebx
je 0x45e78a21
mov esi, dword [esp + 0x28]
jmp 0x45e78a2c
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x45e78a2c
lea esi, [eax + 8]
mov eax, dword [esp + 0x14]
push eax
push ebx
push ebx
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x50]
push eax
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x58], esp
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x38], ebx
call fcn.45e05ca2
mov byte [esp + 0x448], 0x10
push dword [esp + 0x40]
mov eax, dword [esi]
push dword [esp + 0x3c]
mov dword [esp + 0x5c], ebx
push dword [esp + 0x38]
add eax, 0x54
mov byte [esp + 0x454], 0xf
mov ecx, esi
call dword [eax]
mov byte [esp + 0x428], 0xe
mov eax, dword [esp + 0x40]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x428], 0x12
lea eax, [esp + 0x3c]
push eax
lea ebx, [esp + 0x28]
call fcn.45eaa166
xor ecx, ecx
cmp dword [esp + 0x28], ecx
je 0x45e78ac1
mov ecx, dword [esp + 0x28]
jmp 0x45e78acc
mov eax, dword [esp + 0x2c]
cmp eax, ecx
je 0x45e78acc
lea ecx, [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov byte [esp + 0x428], 0xe
lea eax, [esp + 0x3c]
push eax
call fcn.45df1a56
mov byte [esp + 0x428], 0xd
lea eax, [esp + 0x78]
push eax
call fcn.45dda840
mov byte [esp + 0x428], 0xc
lea eax, [esp + 0x124]
push eax
call fcn.45ea788e
mov byte [esp + 0x428], 0xb
lea esi, [esp + 0x24]
call fcn.45eaa1d2
mov byte [esp + 0x428], 7
lea esi, [esp + 0xcc]
call fcn.45e27d1c
xor ebx, ebx
mov byte [esp + 0x428], 6
lea eax, [esp + 0x14]
push eax
call fcn.45f27c2e
mov byte [esp + 0x428], 5
lea ecx, [esp + 0x84]
call fcn.45e277ac
mov byte [esp + 0x428], 4
lea eax, [esp + 0xfc]
push eax
call fcn.45e552e8
mov byte [esp + 0x428], 3
lea eax, [esp + 0xe4]
push eax
call fcn.45e11aad
mov byte [esp + 0x428], 1
lea eax, [esp + 0x34]
push eax
call fcn.45e1666a
mov byte [esp + 0x428], bl
lea esi, [esp + 0x4c]
call fcn.45dee6da
or dword [esp + 0x428], 0xffffffff
lea eax, [esp + 0x44]
call fcn.45f496d6
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.45fa9e5d
mov esp, ebp
pop ebp
ret 8