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

Disassembly:
push 0xffffffffffffffff
push 0x100749c6
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x1008d200]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008d200]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov edi, dword [esp + 0x11c]
mov ebp, dword [esp + 0x12c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x128]
lea edx, [esp + 0x40]
xor ebx, ebx
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
call fcn.1004d430
add esp, 4
mov dword [esp + 0x114], ebx
call fcn.10049530
mov esi, dword [esp + 0x50]
mov ecx, 1
cmp esi, ecx
je 0x10059ed0
cmp dword [eax + 0x10], ecx
je 0x10059eef
mov edx, eax
lea eax, [esp + 0x40]
call fcn.10047690
jmp 0x10059ee2
cmp dword [eax + 0x10], ecx
jne 0x10059eef
mov edx, eax
lea eax, [esp + 0x40]
call fcn.10047690
neg eax
test eax, eax
je 0x10059fa1
mov ecx, 1
cmp dword [edi + 0x10], ecx
je 0x10059f05
cmp esi, ecx
je 0x10059f6a
lea edx, [esp + 0x40]
mov eax, edi
call fcn.10047690
jmp 0x10059f16
cmp esi, ecx
jne 0x10059f1a
lea edx, [esp + 0x40]
mov eax, edi
call fcn.10047690
neg eax
test eax, eax
jg 0x10059f6a
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
call fcn.10057090
test al, al
je 0x10059f6a
lea eax, [esp + 0x40]
push eax
call fcn.10058b70
add esp, 4
test al, al
je 0x10059f6a
test ebp, ebp
je 0x10059f52
mov edx, dword [ebp]
mov edx, dword [edx]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call edx
test al, al
je 0x10059f6a
push edi
lea edi, [esp + 0x44]
call fcn.10044aa0
mov ecx, edi
call fcn.10002480
mov al, 1
jmp 0x1005a5f1
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x10059f94
call fcn.1005d890
add esp, 4
jmp 0x1005a5ef
call fcn.1005cffc
add esp, 4
jmp 0x1005a5ef
call fcn.1005bc00
mov ebp, dword [eax]
mov eax, dword [eax + 4]
sub eax, ebp
sar eax, 1
add eax, eax
movzx ecx, word [eax + ebp - 2]
mov dword [esp + 0x1c], eax
add eax, ebp
push ecx
lea esi, [esp + 0x30]
mov dword [esp + 0x70], eax
call fcn.10044940
mov eax, dword [esp + 0x18]
mov ecx, 1
cmp dword [eax + 0x10], ecx
je 0x10059feb
cmp dword [esp + 0x3c], ecx
je 0x10059fe7
mov edx, esi
call fcn.10047690
jmp 0x1005a001
mov eax, ecx
jmp 0x1005a001
cmp dword [esp + 0x3c], ecx
je 0x10059ff6
or eax, 0xffffffff
jmp 0x1005a001
lea edx, [esp + 0x2c]
call fcn.10047690
neg eax
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
test eax, eax
setle byte [esp + 0x17]
mov ecx, edx
add edx, edx
xor eax, eax
add edx, edx
mov edi, esi
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1005a029
call fcn.1005d890
jmp 0x1005a02e
call fcn.1005cffc
add esp, 4
cmp byte [esp + 0x17], 0
je 0x1005a343
mov edi, dword [esp + 0x18]
push edi
call fcn.10046400
mov esi, dword [edi + 0x10]
cmp esi, 1
je 0x1005a096
mov eax, edi
call fcn.1002e340
test al, al
je 0x1005a096
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
test esi, esi
je 0x1005a064
neg eax
mov ecx, dword [esp + 0x1c]
sar ecx, 1
mov edi, eax
mov esi, ebp
test ecx, ecx
jle 0x1005a094
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movzx edx, word [esi + eax*2]
cmp edi, edx
jb 0x1005a08e
or edx, 0xffffffff
sub edx, eax
lea esi, [esi + eax*2 + 2]
add ecx, edx
jmp 0x1005a090
mov ecx, eax
test ecx, ecx
jg 0x1005a072
mov ebp, esi
cmp ebp, dword [esp + 0x6c]
jae 0x1005a198
cmp dword [0x1009879c], 0
movzx esi, word [ebp]
jne 0x1005a0bc
call fcn.100432d0
mov dword [0x1009879c], 0x10038350
mov edi, 8
mov dword [esp + 0x2c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x34], 2
call fcn.1002e1d0
mov dword [esp + 0x38], eax
mov edi, 1
test esi, esi
js 0x1005a0ed
mov dword [esp + 0x3c], 0
jmp 0x1005a0f7
mov dword [esp + 0x3c], 1
neg esi
mov dword [eax], esi
mov dword [eax + 4], 0
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x118], 3
or ebx, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], ebx
call fcn.1002e760
add esp, 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x114], 4
or ebx, 2
mov dword [esp + 0x1c], ebx
cmp dword [eax + 0x10], edi
je 0x1005a14a
cmp dword [edx + 0x10], edi
je 0x1005a191
call fcn.10047690
jmp 0x1005a156
cmp dword [edx + 0x10], edi
jne 0x1005a191
call fcn.10047690
neg eax
test eax, eax
jne 0x1005a191
cmp dword [esp + 0x20], eax
je 0x1005a198
movzx ecx, word [ebp]
push ecx
lea esi, [esp + 0x58]
call fcn.10044940
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x114], 5
mov edx, dword [ecx]
mov edx, dword [edx]
mov eax, esi
or ebx, 4
push eax
mov dword [esp + 0x20], ebx
call edx
test al, al
jne 0x1005a198
mov byte [esp + 0x17], 1
jmp 0x1005a19d
mov byte [esp + 0x17], 0
test bl, 4
je 0x1005a1d1
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
and ebx, 0xfffffffb
push esi
cmp eax, 0x10
jb 0x1005a1c9
call fcn.1005d890
jmp 0x1005a1ce
call fcn.1005cffc
add esp, 4
test bl, 2
je 0x1005a205
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
and ebx, 0xfffffffd
push esi
cmp ecx, 0x10
jb 0x1005a1fd
call fcn.1005d890
jmp 0x1005a202
call fcn.1005cffc
add esp, 4
mov dword [esp + 0x114], 0
test bl, 1
je 0x1005a241
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov ecx, edx
add edx, edx
xor eax, eax
add edx, edx
and ebx, 0xfffffffe
mov edi, esi
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1005a239
call fcn.1005d890
jmp 0x1005a23e
call fcn.1005cffc
add esp, 4
cmp byte [esp + 0x17], 0
je 0x1005a250
add ebp, 2
jmp 0x1005a096
mov eax, dword [esp + 0x6c]
lea esi, [esp + 0x54]
cmp ebp, eax
jae 0x1005a2f1
movzx eax, word [ebp]
push eax
call fcn.10044940
mov esi, dword [esp + 0x18]
push esi
lea edi, [esp + 0x58]
mov byte [esp + 0x118], 6
call fcn.10044aa0
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x1005a2a4
call fcn.1005d890
jmp 0x1005a2a9
call fcn.1005cffc
mov edx, dword [esp + 0x28]
add esp, 4
mov eax, esi
call fcn.10057090
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov edx, ecx
add edx, edx
mov bl, al
mov esi, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1005a2e2
call fcn.1005d890
add esp, 4
mov al, bl
jmp 0x1005a5f1
call fcn.1005cffc
add esp, 4
mov al, bl
jmp 0x1005a5f1
movzx eax, word [eax - 2]
inc eax
push eax
call fcn.10044940
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [esp + 0x58]
mov byte [esp + 0x118], 7
call fcn.10044aa0
mov byte [esp + 0x114], 0
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov ecx, edx
add edx, edx
xor eax, eax
add edx, edx
mov edi, esi
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1005a33b
call fcn.1005d890
jmp 0x1005a340
call fcn.1005cffc
add esp, 4
mov ebx, dword [esp + 0x68]
xor ebp, ebp
cmp dword [ebx + 8], ebp
jbe 0x1005a4ff
mov eax, dword [ebx + 0xc]
mov al, byte [eax]
and al, 1
je 0x1005a4ff
cmp dword [0x1009879c], ebp
jne 0x1005a376
call fcn.100432d0
mov dword [0x1009879c], 0x10038350
mov esi, vtable.CryptoPP::Integer.0
mov edi, 8
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], 2
call fcn.1002e1d0
mov dword [eax], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebp
mov dword [eax + 4], ebp
mov byte [esp + 0x114], 0xa
cmp dword [0x1009879c], ebp
jne 0x1005a3c1
call fcn.100432d0
mov dword [0x1009879c], 0x10038350
mov edi, 8
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], 2
call fcn.1002e1d0
mov dword [eax], 2
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebp
mov dword [eax + 4], ebp
mov byte [esp + 0x114], 0xd
cmp dword [0x1009879c], ebp
jne 0x1005a40a
call fcn.100432d0
mov dword [0x1009879c], 0x10038350
mov edi, 8
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 2
call fcn.1002e1d0
mov dword [eax], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [eax + 4], ebp
push 1
push ebx
lea esi, [esp + 0xa0]
mov byte [esp + 0x11c], 0x10
call fcn.1002e440
mov esi, eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x74]
push edx
push ebx
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x128], 0x11
call fcn.1005a6f0
add esp, 0x14
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
push esi
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x128], 0x12
call fcn.10059e20
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov edx, ecx
add edx, edx
add esp, 0x14
mov bl, al
mov esi, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1005a4c0
call fcn.1005d890
jmp 0x1005a4c5
call fcn.1005cffc
add esp, 4
lea ecx, [esp + 0x98]
call fcn.10002480
lea ecx, [esp + 0x2c]
call fcn.10002480
lea ecx, [esp + 0x70]
call fcn.10002480
lea ecx, [esp + 0x54]
call fcn.10002480
lea ecx, [esp + 0x40]
call fcn.10002480
mov al, bl
jmp 0x1005a5f1
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, edi
lea esi, [esp + 0x84]
call fcn.1002e720
mov ecx, eax
lea eax, [esp + 0x98]
push eax
mov eax, ebx
mov byte [esp + 0x118], 0x13
call fcn.1002e760
add esp, 4
push eax
mov eax, edi
mov byte [esp + 0x118], 0x14
call fcn.10046930
lea ecx, [esp + 0x98]
call fcn.10002480
mov ecx, esi
mov byte [esp + 0x114], 0
call fcn.10002480
mov esi, dword [esp + 0x24]
mov edx, esi
mov eax, edi
call fcn.1002e610
test al, al
jne 0x1005a5e6
push ebp
push ebx
push esi
push edi
lea ecx, [esp + 0xbc]
push ecx
call fcn.10059400
push edi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x118], 0x15
call fcn.100594b0
test al, al
je 0x1005a5da
mov esi, dword [esp + 0x20]
jmp 0x1005a5a0
cmp esi, ebp
je 0x1005a5b1
mov edx, dword [esi]
mov eax, dword [edx]
push edi
mov ecx, esi
call eax
test al, al
je 0x1005a5c9
mov ecx, edi
call fcn.10058dd0
test al, al
je 0x1005a5c9
push edi
call fcn.10058b70
add esp, 4
test al, al
jne 0x1005a619
push edi
lea ecx, [esp + 0xb0]
call fcn.100594b0
test al, al
jne 0x1005a5a0
lea eax, [esp + 0xac]
call fcn.1005a640
lea ecx, [esp + 0x40]
call fcn.10002480
xor al, al
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.1005c755
add esp, 0x104
ret
lea eax, [esp + 0xac]
call fcn.1005a640
lea ecx, [esp + 0x40]
call fcn.10002480
mov al, 1
jmp 0x1005a5f1