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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59754f
sub esp, 0x60
lea eax, [0x731080]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
lea ebx, [edx + ecx]
mov dword [esp + 8], ebx
call fcn.00438a70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x88]
lea ebp, [ebx + edx]
mov dword [esp + 0x30], ebp
cmp ebp, eax
ja 0x5974b6
test ebp, ebp
jl 0x597548
cmp ebp, eax
ja 0x597548
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
lea eax, [ecx + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044d1e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + eax]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x34]
cmp edx, ebx
ja 0x59747b
mov ebp, dword [esp + 0x4c]
test edx, edx
jl 0x597541
cmp edx, ebx
ja 0x597541
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d1e0
lea eax, [0x731080]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
shl eax, 1
mov edx, dword [esp + 0x94]
lea eax, [eax + edx*2]
mov ebx, dword [esp + 0x98]
lea eax, [eax + ebx*2]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00438a70
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
movzx ebx, word [esp + 0x64]
mov word [esp], bx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.00596e80
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x14], ebp
mov ebp, dword [0xa759b0]
mov esi, dword [0xa759ac]
mov edi, dword [str.key_expansion]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0x90]
test eax, eax
jl 0x59753a
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x59753a
mov edx, dword [esp + 0x38]
cmp eax, edx
ja 0x597533
sub edx, eax
mov ebx, ecx
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov esi, dword [esp + 0x50]
add ecx, esi
cmp eax, ebp
ja 0x59752c
cmp eax, edx
ja 0x597525
mov dword [esp + 0x48], ebp
sub edx, eax
sub ebp, eax
mov dword [esp + 0x3c], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebp, ecx
mov edi, dword [esp + 0x94]
test edi, edi
jl 0x59751e
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
cmp edi, ecx
ja 0x59751e
cmp edi, edx
ja 0x597517
mov dword [esp + 0x5c], ebp
sub edx, edi
sub ecx, edi
mov dword [esp + 0x44], ecx
neg ecx
sar ecx, 0x1f
and ecx, edi
add ecx, ebp
mov ebp, dword [esp + 0x44]
cmp edi, ebp
ja 0x597510
cmp edi, edx
ja 0x597509
mov dword [esp + 0x58], ecx
sub edx, edi
sub ebp, edi
mov dword [esp + 0x40], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
add ebp, ecx
mov ecx, dword [esp + 0x98]
test ecx, ecx
jl 0x597502
mov edi, dword [esp + 0x40]
cmp ecx, edi
ja 0x597502
cmp ecx, edx
ja 0x5974fb
mov edx, edi
sub edi, ecx
mov dword [esp + 0x40], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ecx
add edi, ebp
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x40]
cmp ecx, edi
ja 0x5974f4
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb8], eax
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edi
add esp, 0x60
ret
lea ecx, [0x731080]
mov dword [esp], ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b40
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x48]
jmp 0x5971c4
mov dword [esp + 0x48], edx
lea ebx, [0x731080]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.00438b40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x30]
jmp 0x597173
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.0044b280
jmp fcn.00597110