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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5a460c
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
lea edx, [0x803820]
mov dword [esp], edx
call fcn.00409f80
mov eax, dword [0xb91180]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5a45df
mov eax, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x68]
movzx ebx, word [edx + 0x20]
mov word [ecx + 0xc], bx
mov ecx, dword [edx + 0x24]
nop
test ecx, ecx
je 0x5a3ccf
mov ebx, dword [ecx + 0x90]
mov ecx, dword [ecx + 0x8c]
test ebx, ebx
jne 0x5a45d4
mov ecx, dword [0xb770d4]
mov ebx, dword [0xb770d0]
mov ebp, dword [eax + 4]
mov dword [esp + 0x74], ebp
mov esi, dword [ebp + 0x54]
mov edi, dword [ebp + 0x50]
mov dword [esp + 0x70], edi
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
jmp 0x5a45ac
inc ebp
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x74]
mov ebp, dword [esp + 0x40]
cmp ebp, ecx
jge 0x5a4596
movzx edi, word [ebx + ebp*2]
cmp di, ax
jne 0x5a3cff
mov eax, 1
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x5c]
xor ebx, ebx
jmp 0x5a3d35
inc ebx
cmp ebx, edx
jge 0x5a458f
movzx ebp, byte [ecx + ebx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5a3d34
mov ecx, 1
and eax, ecx
mov ecx, dword [esp + 0x8c]
mov byte [ecx + 0x10], al
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
xor ebx, ebx
jmp 0x5a3d66
inc ebx
cmp ebx, edx
jge 0x5a452a
movzx ebp, byte [ebx + eax]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5a3d65
lea eax, [0x7ac140]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.0043a890
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
mov dword [ecx + 0x14], 0x20
mov dword [ecx + 0x18], 0x20
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x5a4517
mov dword [ecx + 0x10], edx
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x6c], edx
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x3c], ebx
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0x68]
mov esi, dword [ebp + 0x24]
nop
mov dword [esp], esi
mov byte [esp + 4], 0
call fcn.005897c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5a450f
xor eax, eax
cmp ax, 0x303
jb 0x5a4509
mov ecx, dword [esp + 0x68]
movzx edx, word [ecx + 0x20]
cmp dx, ax
jae 0x5a44fc
cmp dx, 0x303
jne 0x5a44aa
mov eax, dword [esp + 0x2c]
cmp eax, 0x18
jb 0x5a4605
mov edx, dword [esp + 0x3c]
lea ebx, [edx - 0x18]
neg ebx
sar ebx, 0x1f
and ebx, 0x18
mov ebp, dword [esp + 0x6c]
add ebx, ebp
add eax, 0xffffffe8
cmp eax, 8
jle 0x5a3e57
mov eax, 8
lea esi, str.DOWNGRD
cmp esi, ebx
je 0x5a3e71
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.0044f8d0
mov eax, dword [esp + 0x3c]
cmp eax, 0x18
jb 0x5a45f7
mov ecx, 0x18
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x24]
nop
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x5a4499
nop
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.0048a020
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x5a4463
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 0x98]
test ebx, ebx
jne 0x5a43fe
mov ebx, dword [ecx + 8]
movzx edx, byte [edx + 0x90]
mov byte [ebx + 0x3a], dl
mov edx, dword [ecx + 8]
mov byte [edx + 0x2a], 0
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x44]
mov edx, dword [edx + 0x48]
test edx, edx
jle 0x5a43f5
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x64], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x5a43e8
mov dword [ebx + 0x60], eax
mov edx, dword [ecx + 4]
mov ebp, dword [edx + 0xa8]
mov esi, dword [edx + 0xa0]
mov eax, ebp
mov ebp, dword [edx + 0xa4]
test ebp, ebp
jg 0x5a434a
movzx edx, byte [edx + 0x40]
test dl, dl
je 0x5a4343
mov edx, dword [ebx + 0x24]
mov edx, dword [edx + 0x34]
test edx, edx
jle 0x5a4343
mov edx, dword [ecx + 8]
mov byte [edx + 0x2b], 1
mov edx, dword [ecx + 8]
mov ebp, dword [ebx + 0x24]
mov esi, dword [ebp + 0x38]
mov eax, ebx
mov ebx, dword [ebp + 0x34]
mov ebp, dword [ebp + 0x30]
mov dword [edx + 0x30], ebx
mov dword [edx + 0x34], esi
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x5a4330
mov dword [edx + 0x2c], ebp
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005a7cc0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00589d30
mov eax, dword [esp + 8]
mov ecx, dword [0xb91180]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x5a431c
mov ecx, dword [esp + 0x8c]
mov dword [ecx + 0x58], eax
test edx, edx
jne 0x5a42e6
mov edx, dword [ecx + 4]
movzx edx, byte [edx + 0xac]
test dl, dl
je 0x5a4009
mov edx, dword [ecx + 8]
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x20]
mov esi, dword [eax + 0x28]
mov dword [edx + 0x54], ebx
mov dword [edx + 0x58], esi
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x5a42d7
mov dword [edx + 0x50], ebp
mov eax, dword [ecx + 0x58]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
lea ebx, [0x7c5640]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00407e30
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
jne 0x5a4199
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
lea ebx, [0x7c55e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00407e30
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
jne 0x5a4091
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x88
ret
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x5a40c9
cmp dword [eax + 8], 0xcc456746
jne 0x5a40c9
lea ecx, [0x7b6ce0]
cmp eax, ecx
jne 0x5a40c9
mov eax, dword [esp + 0x8c]
mov byte [eax + 0x12], 1
jmp 0x5a4074
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
nop
lea eax, [0x828108]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a418e
mov eax, dword [esp + 0x54]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x88
ret
mov eax, dword [esp + 0x54]
call fcn.0044f0d0
jmp 0x5a4173
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], edx
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5a41f8
mov ecx, dword [eax + 8]
cmp ecx, 0x2fd00e80
jne 0x5a41d6
lea edx, [0x7ef540]
cmp edx, eax
jne 0x5a41d6
mov eax, dword [esp + 0x8c]
mov byte [eax + 0x11], 1
jmp 0x5a403d
cmp ecx, 0xcc456746
jne 0x5a41f8
lea ecx, [0x7b6ce0]
cmp ecx, eax
jne 0x5a41f8
mov eax, dword [esp + 0x8c]
mov byte [eax + 0x13], 1
jmp 0x5a403d
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
nop
lea eax, [0x826a41]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a42cc
mov eax, dword [esp + 0x58]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x88
ret
mov eax, dword [esp + 0x58]
call fcn.0044f0d0
jmp 0x5a42b1
lea edi, [edx + 0x50]
mov eax, ebp
call fcn.0044f0d0
jmp 0x5a4009
mov dword [esp + 0x38], edx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov ecx, dword [esp + 0x8c]
lea edi, [ecx + 0x58]
call fcn.0044f0d0
jmp 0x5a3fd0
lea edi, [edx + 0x2c]
mov edx, eax
mov eax, ebp
call fcn.0044f0d0
mov eax, edx
jmp 0x5a3f86
mov eax, ebx
jmp 0x5a3f86
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx + 0x34]
mov edi, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x38]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.00597670
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x18]
test cl, cl
je 0x5a4393
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x8c]
jmp 0x5a3f86
mov ecx, dword [esp + 0x8c]
mov ebx, dword [ecx + 8]
mov dword [ebx + 0x4c], eax
mov ebp, dword [0xb91180]
test ebp, ebp
jne 0x5a43d8
mov dword [ebx + 0x48], edx
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0xa8], eax
mov ebp, dword [0xb91180]
test ebp, ebp
jne 0x5a43c9
mov dword [ebx + 0xa4], edx
jmp 0x5a4383
lea edi, [ebx + 0xa4]
mov eax, edx
call fcn.0044f0d0
jmp 0x5a4383
lea edi, [ebx + 0x48]
mov ebx, eax
mov eax, edx
call fcn.0044f0d0
mov eax, ebx
jmp 0x5a43ad
lea edi, [ebx + 0x60]
call fcn.0044f0d0
jmp 0x5a3f1e
mov ebx, dword [esp + 0x68]
jmp 0x5a3f1e
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x3c
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a4456
lea eax, [0x82e47b]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x88
ret
lea eax, [0x82e47b]
call fcn.0044f0d0
jmp 0x5a443b
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov ebp, dword [0xb7d444]
mov ebx, dword [0xb7d440]
jmp 0x5a3e98
mov eax, dword [esp + 0x2c]
cmp eax, 0x18
jb 0x5a45fe
mov edx, dword [esp + 0x3c]
lea ebx, [edx - 0x18]
neg ebx
sar ebx, 0x1f
and ebx, 0x18
mov ebp, dword [esp + 0x6c]
add ebx, ebp
add eax, 0xffffffe8
cmp eax, 8
jle 0x5a44d9
mov eax, 8
lea esi, [0x815436]
cmp esi, ebx
je 0x5a3e71
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.0044f8d0
jmp 0x5a3e71
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
jmp 0x5a3e83
mov ecx, dword [esp + 0x68]
jmp 0x5a44fc
movzx eax, word [ecx]
jmp 0x5a3e02
lea edi, [ecx + 0x10]
mov ecx, eax
mov eax, edx
call fcn.0044f0d0
mov eax, ecx
jmp 0x5a3dc3
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x35
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a4582
lea eax, [0x82c96e]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x88
ret
lea eax, [0x82c96e]
call fcn.0044f0d0
jmp 0x5a4567
xor ecx, ecx
jmp 0x5a3d4c
lea eax, [edx + 1]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x40]
cmp edx, esi
jge 0x5a45cd
movzx eax, word [edi + edx*2]
mov word [esp + 0x44], ax
xor eax, eax
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0x44]
jmp 0x5a3d0c
xor eax, eax
jmp 0x5a3d26
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x5a3cdb
mov edx, dword [esp + 0x8c]
lea edi, [edx + 8]
mov eax, ecx
call fcn.0044f0d0
mov eax, edx
jmp 0x5a3ca7
call fcn.004288c0
ud2
call fcn.004288c0
ud2
call fcn.004288c0
ud2
call fcn.0044d880
jmp fcn.005a3c50