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

Disassembly:
push 0xffffffffffffffff
push 0x4d4dc4
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
cmp dword [esp + 0x140], 0x30
mov ebp, dword [esp + 0x13c]
mov dword [esp + 0x28], ebp
jae 0x4535eb
xor al, al
jmp 0x453be6
push ebp
call fcn.0040671b
lea esi, [ebp + 4]
mov dword [edi], eax
push esi
call fcn.0040671b
add esi, 4
mov dword [edi + 4], eax
push esi
call fcn.0040671b
add esi, 4
mov edi, eax
push esi
call fcn.0040671b
add esi, 4
mov ebx, eax
push esi
call fcn.0040671b
add esi, 4
mov dword [esp + 0x28], eax
push esi
call fcn.0040671b
add esi, 4
mov dword [esp + 0x3c], eax
push esi
call fcn.0040671b
lea ecx, [esi + 4]
mov dword [esp + 0x54], eax
push ecx
call fcn.0040671b
mov esi, dword [esp + 0x38]
add esp, 0x20
mov ecx, dword [edi + ebp + 4]
mov dword [esp + 0x30], eax
mov dword [esi + 8], ecx
mov cl, byte [edi + ebp + 8]
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], 0
movzx ecx, byte [edi + ebp + 9]
mov dl, cl
mov al, cl
shr dl, 2
and dl, 1
shr al, 3
add dl, dl
shr cl, 4
and al, 1
and cl, 0xf
or dl, al
mov al, byte [esi + 0xe]
shl dl, 4
and al, 0xc0
or dl, cl
lea ecx, [ebp + 6]
or dl, al
add ecx, ebx
mov byte [esi + 0xe], dl
movzx esi, byte [ebx + ebp + 4]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
push esi
mov dword [esp + 0x24], esi
lea eax, [ebx + 0x10]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.00454704
test esi, esi
je 0x45370f
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
lea esi, [ebx + 6]
xor eax, eax
mov ecx, dword [esp + 0x2c]
lea edi, [esp + 0x4d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [ebx]
mov byte [esp + 0x4c], al
mov eax, dword [esi - 5]
mov dword [esp + 0x4d], eax
mov al, byte [esi - 1]
mov byte [esp + 0x51], al
mov ax, word [esi]
mov word [esp + 0x53], ax
mov al, byte [esi + 2]
mov byte [esp + 0x55], al
lea eax, [esp + 0x4c]
push eax
call fcn.00454467
lea ebx, [ebx + 0xc]
lea esi, [esi + 0xc]
dec ebp
jne 0x4536c3
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, 0x100
movzx ecx, byte [edi + ebp + 4]
imul cx, ax
movzx eax, byte [edi + ebp + 5]
add edi, 8
add edi, ebp
add cx, ax
movzx ecx, cx
mov edx, ecx
mov ax, cx
shr edx, 2
and ecx, 8
shr ax, 5
and edx, 4
or dx, cx
movzx esi, ax
mov ax, word [ebx + 0x1c]
mov ecx, 0xfffc
shr dx, 2
and ax, cx
or dx, ax
mov word [ebx + 0x1c], dx
test esi, esi
je 0x45379a
lea eax, [ebx + 0x20]
mov dword [esp + 0x14], eax
mov ebx, eax
mov eax, dword [edi]
mov ecx, ebx
and dword [esp + 0x4d], 0
mov dword [esp + 0x4c], eax
mov al, byte [edi + 4]
mov byte [esp + 0x50], al
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x55], 0
call fcn.0045453c
lea edi, [edi + 6]
dec esi
jne 0x45376d
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx + ebp + 4]
lea edi, [ecx + 6]
add edi, ebp
mov dword [esp + 0x1c], eax
test eax, eax
je 0x453b8d
lea eax, [ebx + 0x2c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x8c]
call fcn.004534ec
mov eax, edi
xor ebx, ebx
sub eax, ebp
mov dword [esp + 0x134], ebx
mov dword [esp + 0x124], eax
mov al, byte [edi]
mov byte [esp + 0x8c], al
mov al, byte [edi + 1]
shr al, 4
mov byte [esp + 0x8d], al
lea eax, [edi + 2]
push eax
call fcn.0040671b
mov dword [esp + 0x94], eax
mov edx, 0x100
movzx eax, byte [edi + 7]
pop ecx
movzx ecx, byte [edi + 6]
imul cx, dx
add cx, ax
mov word [esp + 0x94], cx
movzx eax, byte [edi + 0x12]
movzx ecx, byte [edi + 0x13]
add edi, 0x14
imul ax, dx
add cx, ax
movzx eax, cx
shr ax, 0xc
movzx esi, ax
test esi, esi
je 0x45388c
mov ebp, edx
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
imul cx, bp
mov dword [esp + 0x4e], ebx
add cx, ax
mov al, byte [edi + 2]
mov byte [esp + 0x4e], al
mov al, byte [edi + 3]
mov byte [esp + 0x4f], al
mov al, byte [edi + 4]
mov byte [esp + 0x50], al
lea eax, [esp + 0x4c]
mov word [esp + 0x4c], cx
lea ecx, [esp + 0x98]
push eax
call fcn.0045453c
add edi, 6
dec esi
jne 0x453840
mov ebp, dword [esp + 0x28]
mov edx, 0x100
mov al, byte [edi]
mov byte [esp + 0xa4], al
mov al, byte [edi + 1]
shr al, 6
mov byte [esp + 0xa5], al
mov al, byte [edi + 1]
shr al, 4
and al, 3
mov byte [esp + 0xa6], al
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 3]
add edi, 4
imul cx, dx
add cx, ax
movzx eax, cx
mov dword [esp + 0x24], eax
test ax, ax
je 0x453964
mov bp, ax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov ax, word [edi]
lea ecx, [esp + 0x5c]
mov word [esp + 0x58], ax
mov al, byte [edi + 2]
mov byte [esp + 0x5a], al
lea eax, [esp + 0x5c]
mov byte [esp + 0x5b], bl
mov bl, byte [edi + 3]
add edi, 4
movzx esi, bl
add esi, edi
mov byte [esp + 0x134], 1
push esi
push edi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0045324c
movzx eax, bl
mov ecx, 0xfffc
sub cx, ax
mov edi, esi
lea eax, [esp + 0x58]
add bp, cx
push eax
lea ecx, [esp + 0xac]
call fcn.004544d1
xor ebx, ebx
lea ecx, [esp + 0x5c]
push ebx
push 1
mov byte [esp + 0x13c], bl
call fcn.00403ecf
test bp, bp
jne 0x4538d6
mov ebp, dword [esp + 0x28]
mov eax, edi
sub eax, ebp
and eax, 0x80000001
jns 0x453974
dec eax
or eax, 0xfffffffe
inc eax
je 0x453977
inc edi
mov dl, byte [edi]
lea ecx, [esp + 0xb4]
mov eax, dword [esp + 0xc4]
inc edi
push 0x10
pop ebx
cmp dword [esp + 0xc8], ebx
movzx esi, dl
cmovae ecx, dword [esp + 0xb4]
add esi, edi
push esi
add eax, ecx
lea ecx, [esp + 0xb8]
push edi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0045324c
mov eax, esi
sub eax, ebp
and eax, 0x80000001
jns 0x4539c5
dec eax
or eax, 0xfffffffe
inc eax
je 0x4539c8
inc esi
movzx ecx, byte [esi]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esi + 1]
add cx, ax
mov eax, dword [esp + 0xe0]
mov word [esp + 0xcc], cx
lea ecx, [esp + 0xd0]
mov dl, byte [esi + 2]
add esi, 3
cmp dword [esp + 0xe4], ebx
movzx edi, dl
cmovae ecx, dword [esp + 0xd0]
add edi, esi
push edi
add eax, ecx
lea ecx, [esp + 0xd4]
push esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0045324c
mov eax, edi
sub eax, ebp
and eax, 0x80000001
jns 0x453a31
dec eax
or eax, 0xfffffffe
inc eax
je 0x453a34
inc edi
mov dl, byte [edi]
lea ecx, [esp + 0xe8]
mov eax, dword [esp + 0xf8]
inc edi
cmp dword [esp + 0xfc], ebx
movzx esi, dl
cmovae ecx, dword [esp + 0xe8]
add esi, edi
push esi
add eax, ecx
lea ecx, [esp + 0xec]
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0045324c
mov eax, esi
sub eax, ebp
and eax, 0x80000001
jns 0x453a7f
dec eax
or eax, 0xfffffffe
inc eax
je 0x453a82
inc esi
mov dl, byte [esi]
lea ecx, [esp + 0x100]
mov eax, dword [esp + 0x110]
inc esi
cmp dword [esp + 0x114], ebx
movzx edi, dl
cmovae ecx, dword [esp + 0x100]
add edi, esi
push edi
add eax, ecx
lea ecx, [esp + 0x104]
push esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0045324c
mov eax, edi
sub eax, ebp
and eax, 0x80000001
jns 0x453acd
dec eax
or eax, 0xfffffffe
inc eax
je 0x453ad0
inc edi
mov bh, byte [edi]
inc edi
jmp 0x453b43
mov bl, byte [edi]
inc edi
and dword [esp + 0x84], 0
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], 0
movzx esi, bl
lea eax, [esp + 0x74]
add esi, edi
mov byte [esp + 0x134], 2
push esi
push edi
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x84]
call fcn.0045324c
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x11c]
call fcn.004545b2
or al, 0xff
mov byte [esp + 0x134], 0
push 0
sub al, bl
lea ecx, [esp + 0x78]
push 1
mov edi, esi
add bh, al
call fcn.00403ecf
test bh, bh
jne 0x453ad5
mov eax, edi
sub eax, ebp
and eax, 0x80000001
jns 0x453b57
dec eax
or eax, 0xfffffffe
inc eax
je 0x453b5a
inc edi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
push eax
call fcn.0045463b
or dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.0044a7e1
dec dword [esp + 0x1c]
jne 0x4537bb
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
add eax, ebp
push eax
call fcn.0040671b
mov edx, dword [esp + 0x34]
mov esi, 0x100
mov dword [ebx + 0x38], eax
pop ecx
movzx eax, byte [edx + ebp]
lea edi, [edx + 2]
movzx ecx, byte [edx + ebp + 1]
imul ax, si
add cx, ax
movzx esi, cx
lea ecx, [ebx + 0x3c]
cmp dword [ecx + 0x14], 0x10
jb 0x453bc9
mov eax, dword [ecx]
jmp 0x453bcb
mov eax, ecx
mov edx, dword [ecx + 0x10]
add esi, ebp
add esi, edi
add edx, eax
push esi
lea esi, [edi + ebp]
push esi
push edx
lea edx, [esp + 0x40]
push edx
call fcn.0045324c
mov al, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004b9a6c
add esp, 0x124
ret 8