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

Disassembly:
push 0xffffffffffffffff
push 0x48c860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x4bb604]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], 0x491b0c
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x11
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xa
push 0x4c071c
lea eax, [esp + 0x40]
push 0x4b3000
push eax
mov byte [esp + 0x84], 6
call fcn.0046ea5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 7
call fcn.0046e88c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 6
call fcn.0046e753
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
push ecx
push edx
call fcn.0040c2a0
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x48], ebp
je 0x422efb
push 0x4b10ec
push ebp
call fcn.004595c0
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0x3c], esi
je 0x422efb
sub eax, ebp
lea ecx, [ebp + 1]
dec eax
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.0046b530
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 8
call fcn.0046e88c
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 6
call fcn.0046e753
push 0x20
lea ecx, [esp + 0x14]
call fcn.0046ec1a
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x4c], edi
jle 0x422e56
lea edx, [esp + 0x34]
push edi
push edx
lea ecx, [esp + 0x18]
call fcn.0046b70e
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 9
call fcn.0046e88c
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 6
call fcn.0046e753
inc edi
lea eax, [esp + 0x34]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.0046b5d9
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 0xa
call fcn.0046e88c
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 6
call fcn.0046e753
lea ecx, [esp + 0x54]
lea edx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.0046e4c8
call fcn.0040b6f0
mov eax, dword [0x4bb604]
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x60]
mov byte [esp + 0x78], 0xc
neg edi
sbb edi, edi
cmp edi, ebx
je 0x422e38
mov edx, dword [esp + 0x5c]
cmp edi, 0xffffffff
mov esi, edi
jne 0x422c86
xor ecx, ecx
cmp edx, ebx
jbe 0x422c86
mov eax, dword [esp + 0x58]
mov esi, dword [eax]
cmp esi, ebx
jne 0x422c86
inc ecx
add eax, 4
cmp ecx, edx
jb 0x422c78
mov edi, dword [esi]
cmp edi, ebx
jne 0x422ca9
mov eax, dword [esi + 4]
inc eax
cmp eax, edx
jae 0x422ca9
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + eax*4]
mov edi, dword [ecx]
cmp edi, ebx
jne 0x422ca9
inc eax
add ecx, 4
cmp eax, edx
jb 0x422c9b
lea edx, [esi + 8]
lea ecx, [esp + 0x38]
push edx
call fcn.0046e88c
add esi, 0xc
lea ecx, [esp + 0x18]
push esi
call fcn.0046e88c
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], 0xa
jle 0x422e2a
lea ecx, [esp + 0x40]
push 0xa
push ecx
lea ecx, [esp + 0x20]
call fcn.0046b70e
mov eax, dword [eax]
push str.trsgetkey_
push eax
call fcn.004646f0
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.0046e753
test bl, bl
je 0x422e2a
mov eax, dword [0x4bb604]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x44]
push 0xa
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0xe
call fcn.0046b5d9
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 0xf
call fcn.0046e88c
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0xe
call fcn.0046e753
mov eax, dword [esp + 0x34]
push eax
mov ebp, eax
call fcn.0046bc2c
xor edx, edx
div dword [0x4c06e8]
mov eax, dword [0x4c06e4]
test eax, eax
je 0x422d97
mov esi, dword [eax + edx*4]
test esi, esi
je 0x422d97
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.00458301
add esp, 8
test eax, eax
je 0x422d86
mov esi, dword [esi]
test esi, esi
jne 0x422d6d
jmp 0x422d97
test esi, esi
je 0x422d97
add esi, 0xc
lea ecx, [esp + 0x30]
push esi
call fcn.0046e88c
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
mov ebp, eax
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.00406a70
mov esi, eax
test esi, esi
jne 0x422e01
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x422dce
mov edx, dword [esp + 0x5c]
push 1
push edx
lea ecx, [esp + 0x5c]
call fcn.00406bf0
lea ecx, [esp + 0x54]
call fcn.00406c60
mov esi, eax
mov eax, dword [esp + 0x2c]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.0046e8dc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + edx*4]
mov dword [esi], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov dword [ecx + edx*4], esi
push ebx
lea ecx, [esi + 0xc]
call fcn.0046e8dc
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 0xd
call fcn.0046e753
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0xc
call fcn.0046e753
mov ebp, dword [esp + 0x48]
xor ebx, ebx
cmp edi, ebx
jne 0x422c63
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0xb
call fcn.0046e753
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 6
call fcn.0046e753
jmp 0x422e64
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0046e88c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x48]
push ecx
push 0x4b3060
push edx
call fcn.0046ea5c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x10
call fcn.0046e88c
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 6
call fcn.0046e753
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0040c2a0
mov esi, eax
mov eax, dword [esp + 0x54]
add esp, 8
cmp eax, ebx
je 0x422ee3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov cl, byte [eax + esi]
cmp cl, 0x3e
je 0x422ee3
movsx edx, cl
push edx
call fcn.00458565
add esp, 4
test eax, eax
jne 0x422ee3
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax - 8]
add ecx, esi
push ecx
call fcn.0040c2a0
add esp, 8
mov esi, eax
jmp 0x422ead
cmp esi, ebx
je 0x422efb
push 0x4b10ec
push esi
call fcn.004595c0
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x422f6f
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
push eax
push ecx
call fcn.0045871c
add esp, 8
mov dword [esp + 0x54], 0x491b0c
mov eax, dword [esp + 0x58]
mov byte [esp + 0x78], 0x19
cmp eax, ebx
je 0x42316e
mov ecx, dword [esp + 0x5c]
xor edi, edi
cmp ecx, ebx
jbe 0x42316e
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x422f61
lea edx, [esi + 0xc]
push 1
push edx
call fcn.0046bc08
lea eax, [esi + 8]
push 1
push eax
call fcn.0046bc08
mov esi, dword [esi]
cmp esi, ebx
jne 0x422f41
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
inc edi
cmp edi, ecx
jb 0x422f3a
jmp 0x42316e
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x84]
sub ebp, eax
push ebp
push eax
call fcn.0046b530
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 0x11
call fcn.0046e88c
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 6
call fcn.0046e753
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x84]
sub esi, eax
dec esi
inc eax
push esi
push eax
call fcn.0046b530
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0x12
call fcn.0046e88c
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 6
call fcn.0046e753
inc edi
lea ecx, [esp + 0x84]
push edi
call fcn.0046e7c1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 0x13
call fcn.0046e88c
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 6
call fcn.0046e753
push 0x20
lea ecx, [esp + 0x14]
call fcn.0046ec1a
mov esi, eax
cmp esi, ebx
jle 0x423082
lea ecx, [esi + 1]
lea edx, [esp + 0x84]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0046b5d9
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 0x14
call fcn.0046e88c
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 6
call fcn.0046e753
lea eax, [esp + 0x84]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0046b70e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x15
call fcn.0046e88c
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 6
call fcn.0046e753
lea ecx, [esp + 0x10]
call fcn.0046ec75
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x28]
push esi
push ecx
call fcn.0045871c
mov edx, dword [0x4c071c]
add esp, 8
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0046b5d9
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x16
call fcn.0046e88c
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 6
call fcn.0046e753
lea ecx, [esp + 0x54]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call fcn.0046e4c8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 6
call fcn.00423200
mov edi, dword [esp + 0x58]
push eax
push esi
mov ecx, edi
call fcn.004236a0
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
push esi
call fcn.00422aa0
mov dword [esp + 0x54], 0x491b0c
mov eax, dword [esp + 0x58]
mov byte [esp + 0x78], 0x18
cmp eax, ebx
je 0x42316e
mov ecx, dword [esp + 0x5c]
xor edi, edi
cmp ecx, ebx
jbe 0x42316e
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x423165
lea ecx, [esi + 0xc]
push 1
push ecx
call fcn.0046bc08
lea edx, [esi + 8]
push 1
push edx
call fcn.0046bc08
mov esi, dword [esi]
cmp esi, ebx
jne 0x423145
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
inc edi
cmp edi, ecx
jb 0x42313e
push eax
call fcn.00473336
mov ecx, dword [esp + 0x6c]
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.0046da9c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x78], 4
call fcn.0046e753
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.0046e753
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.0046e753
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.0046e753
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call fcn.0046e753
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 0xffffffff
call fcn.0046e753
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 8