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

Disassembly:
sub esp, 0xe0
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00411ab0
mov esi, dword [esp + 0xf8]
mov eax, dword [esi + 0x38]
mov ecx, eax
and eax, 4
and ecx, 0x20
mov edi, eax
mov eax, dword [esi + 0x68]
xor ebp, ebp
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], eax
call fcn.00455fb0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00470950
lea eax, [esi + 0xc]
cmp eax, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov ecx, eax
je 0x485ca0
cmp dword [ecx], 5
je 0x485cb5
mov eax, dword [ecx + 0x5c]
cmp eax, ebp
je 0x485c94
mov edx, dword [eax + 0x20]
mov edx, dword [edx + 0x20]
mov dword [eax + 0x20], edx
mov eax, dword [eax]
cmp eax, ebp
jne 0x485c85
mov eax, ecx
mov ecx, dword [ecx + 0xc4]
cmp ecx, ebp
jne 0x485c79
cmp dword [eax + 0xc0], ebp
jne 0x485cd4
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x50]
mov dword [esp + 0x28], eax
jmp 0x485cdc
cmp ecx, ebp
je 0x485ca0
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx + 0x50]
cmp ecx, ebp
mov dword [esp + 0x28], ecx
je 0x485ccc
cmp edi, ebp
jne 0x485ce4
mov dword [eax + 0xc4], ebp
jmp 0x485cdc
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
cmp edi, ebp
je 0x486040
push 0x28
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
mov edi, 0x40
je 0x485d18
push ebp
push 0x6244e8
mov ecx, esi
call fcn.00411ad0
mov dword [esi], 0x5ab4c8
mov dword [esi + 0x14], str.table
mov dword [esi + 0x1c], edi
jmp 0x485d1a
xor esi, esi
push esi
lea ecx, [esp + 0x14]
call fcn.0041cc90
push 0x28
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
mov ebx, 0xa
je 0x485d58
push ebp
push 0x6244e8
mov ecx, esi
call fcn.00411ad0
mov dword [esi], 0x5ab4c8
mov dword [esi + 0x14], str.type
mov dword [esi + 0x1c], ebx
jmp 0x485d5a
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x485d77
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x485d79
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x485d91
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
inc dword [esp + 0x18]
push 0x28
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x485dc4
push ebp
push 0x6244e8
mov ecx, esi
call fcn.00411ad0
mov dword [esi], 0x5ab4c8
mov dword [esi + 0x14], str.possible_keys
mov dword [esi + 0x1c], 0x800
jmp 0x485dc6
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x485de3
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x485de5
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x485dfd
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
inc dword [esp + 0x18]
push 0x28
mov byte [esi + 0x22], 1
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x485e30
push ebp
push 0x6244e8
mov ecx, esi
call fcn.00411ad0
mov dword [esi], 0x5ab4c8
mov dword [esi + 0x14], 0x5f07c8
mov dword [esi + 0x1c], edi
jmp 0x485e32
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x485e4f
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x485e51
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x485e69
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
inc dword [esp + 0x18]
push 0x30
mov byte [esi + 0x22], 1
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x485ea0
mov ecx, esi
call fcn.00418770
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi], 0x5ac128
mov dword [esi + 0x1c], 3
mov dword [esi + 0x14], str.key_len
jmp 0x485ea2
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x485ebf
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x485ec1
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x485ed9
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
inc dword [esp + 0x18]
push 0x28
mov byte [esi + 0x22], 1
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x485f10
push ebp
push 0x6244e8
mov ecx, esi
call fcn.00411ad0
mov dword [esi], 0x5ab4c8
mov dword [esi + 0x14], 0x5f0224
mov dword [esi + 0x1c], 0x400
jmp 0x485f12
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x485f2f
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x485f31
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x485f49
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
inc dword [esp + 0x18]
push 0x30
mov byte [esi + 0x22], 1
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x485f80
mov ecx, esi
call fcn.00418770
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi], 0x5ac094
mov dword [esi + 0x14], str.rows
mov byte [esi + 0x21], 0
mov dword [esi + 0x1c], ebx
jmp 0x485f82
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x485f9f
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x485fa1
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x485fb9
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
inc dword [esp + 0x18]
push 0x28
call fcn.004965e0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x485ffe
mov ecx, esi
call fcn.00418770
push ebp
push 0x6244e8
lea ecx, [esi + 4]
mov dword [esi], 0x5ab3a0
call fcn.0044a8d0
mov byte [esi + 0x21], 0x1f
mov dword [esi], 0x5ab4c8
mov dword [esi + 0x14], str.Extra
mov dword [esi + 0x1c], 0xff
jmp 0x486000
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x48601d
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x48601f
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x4860d0
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
inc dword [esp + 0x18]
jmp 0x4860d0
mov eax, dword [esp + 0xf8]
mov edi, dword [eax + 0x7c]
mov esi, dword [edi + 4]
cmp esi, ebp
mov ebx, dword [eax + 0x68]
je 0x48609d
push 8
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x486071
push 0x628858
push esi
mov ecx, eax
call fcn.00411a90
jmp 0x486073
xor eax, eax
cmp eax, ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
je 0x48613f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov edi, dword [edi]
mov esi, dword [edi + 4]
cmp esi, ebp
jne 0x486054
push ebx
call fcn.00458c70
add esp, 4
test eax, eax
jne 0x486531
mov edx, dword [esp + 0xf4]
push 1
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
call fcn.00458b40
add esp, 0x18
test eax, eax
jne 0x486531
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp ebx, ebp
sete cl
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xf8]
mov edi, dword [eax + 0x38]
mov esi, ecx
mov ecx, dword [esp + 0xf4]
mov edx, dword [ecx + 0x79c]
or edx, edi
mov edi, dword [eax + 0x30c]
or edx, 0x2000
push edx
xor edx, edx
cmp edi, ebp
sete dl
push ebp
push 1
lea eax, [esp + 0x1c]
and edx, esi
push edx
push ebp
push eax
lea edx, [esp + 0x54]
push edx
push ecx
call fcn.00475b40
mov ebx, eax
add esp, 0x20
cmp ebx, ebp
jne 0x486150
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
je 0x486540
jmp 0x486539
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0xe
call dword [eax + 0x9c]
mov ecx, dword [ebx]
mov edx, dword [ecx]
push 0x19
call dword [edx + 0x9c]
xor eax, eax
mov ecx, 0x15
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov eax, str.union
push 0x30
mov dword [esp + 0xa4], 0x6244e8
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xc0], ebx
call fcn.004965e0
add esp, 4
cmp eax, ebp
je 0x4861b9
push ebx
mov ecx, eax
call fcn.00486550
mov ebp, eax
test ebp, ebp
jne 0x4861c1
or edi, 0xffffffff
jmp 0x48649e
mov ecx, dword [esp + 0xf8]
mov dword [ebp + 0x2c], esi
lea esi, [ecx + 0xc]
lea eax, [esp + 0x3c]
or ecx, 0xffffffff
test esi, esi
mov dword [ebp + 0x28], eax
je 0x48633d
jmp 0x4861e5
or ecx, 0xffffffff
cmp esi, dword [esp + 0x20]
mov edx, dword [esp + 0xf8]
mov dword [edx + 0xd4], esi
je 0x486210
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x77c], edx
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
jmp 0x486234
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x77c], 0
mov dword [eax + 0x778], ecx
mov edx, dword [esi + 0x50]
test edx, edx
jne 0x48623c
mov edx, dword [esi + 0x28]
mov edi, dword [esi + 0x24]
add edx, edi
mov dword [eax + 0x778], edx
mov edx, dword [eax + 0x778]
cmp edx, dword [esi + 0x24]
jae 0x48624d
mov dword [eax + 0x778], ecx
cmp dword [eax + 0x778], ecx
je 0x48626d
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x48626d
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x24]
or ecx, eax
mov dword [esi + 0x2c], ecx
jmp 0x486271
and dword [esi + 0x2c], 0xffffffdf
mov ecx, dword [ebx]
mov eax, dword [esi + 0xc0]
test eax, eax
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x38], edx
je 0x486289
mov ecx, dword [esi + 0x50]
jmp 0x48628b
xor ecx, ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48629c
cmp dword [esi], 5
mov eax, dword [esp + 0x34]
je 0x48629f
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x2c]
or edi, dword [esp + 0x1c]
mov edx, dword [esp + 0xf4]
or edi, dword [edx + 0x79c]
push ebp
or edi, 0x80000000
push edi
mov edi, dword [esi + 0x20]
push 0
push edi
mov edi, dword [esi + 0x68]
push edi
push ecx
mov ecx, dword [esi + 0x1c]
push ecx
lea ecx, [esi + 0x70]
push ecx
push eax
push edx
call fcn.0046ef30
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x48649e
mov ecx, dword [ebx]
mov edx, dword [ecx]
push 0x10
call dword [edx + 0x98]
mov eax, dword [esp + 0x24]
test dword [esi + 0x2c], eax
je 0x48632f
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x48]
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x38]
mov edi, dword [eax + 0x770]
sub edx, ecx
xor ecx, ecx
sub edi, edx
mov edx, dword [eax + 0x774]
mov eax, dword [esp + 0x30]
sbb edx, ecx
mov ecx, dword [esp + 0x2c]
add ecx, edi
adc eax, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov esi, dword [esi + 0xc4]
test esi, esi
jne 0x4861e2
mov ecx, ebp
call fcn.00486660
test eax, eax
je 0x486352
mov edi, 1
jmp 0x48649e
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov eax, dword [esp + 0xf8]
lea ecx, [eax + 0xc]
mov dword [eax + 0xd4], ecx
mov ecx, dword [esp + 0xf4]
lea eax, [ecx + 0x1e4]
mov dword [eax + 8], 0
mov dword [eax], 0x628858
mov dword [eax + 4], eax
mov esi, dword [ebx + 4]
mov eax, dword [esi]
or edi, 0xffffffff
test eax, eax
lea ebp, [esp + 0x10]
je 0x4863c2
mov ebp, dword [ebp]
push 0x3c
call fcn.004965e0
add esp, 4
test eax, eax
je 0x4863b5
mov edx, dword [esi]
push edx
mov ecx, eax
call fcn.00418a70
jmp 0x4863b7
xor eax, eax
add esi, 4
mov dword [ebp + 4], eax
cmp dword [esi], 0
jne 0x486398
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x808]
test ecx, ecx
jne 0x48649e
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4864f0
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x77c], edx
mov esi, dword [ecx + 0x24]
mov edx, dword [ecx + 0x28]
add edx, esi
mov dword [eax + 0x778], edx
cmp edx, dword [ecx + 0x24]
jae 0x486409
mov dword [eax + 0x778], 0xffffffff
cmp dword [eax + 0x778], 0xffffffff
jne 0x486419
and dword [eax + 0x79c], 0xffffffdf
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x48642b
mov dword [eax + 0x778], 0xffffffff
mov edx, dword [esp + 0xfc]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x79c]
mov esi, dword [esp + 0x28]
push edx
xor edx, edx
push ecx
test ebp, ebp
setne dl
push 0
push 0
push 0
lea ecx, [esp + 0x24]
dec edx
and edx, esi
push edx
push 0
push ecx
lea edx, [esp + 0xbc]
push edx
push eax
call fcn.0046ef30
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x48649e
mov eax, dword [ebx]
mov ecx, dword [eax + 0x48]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
xor edx, edx
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x770], ecx
mov dword [eax + 0x774], edx
mov eax, dword [esp + 0xf4]
push ebx
push eax
call fcn.00476d10
mov ecx, dword [esp + 0x60]
add esp, 8
test ecx, ecx
je 0x4864e3
mov eax, dword [ecx - 4]
lea ebp, [ecx - 4]
mov edx, eax
shl edx, 4
add edx, eax
dec eax
lea esi, [ecx + edx*4]
js 0x4864da
lea ebx, [eax + 1]
sub esi, 0x44
mov ecx, esi
call fcn.0042a530
dec ebx
jne 0x4864cd
push ebp
call fcn.0059a176
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x510]
mov dword [eax + 0x778], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov dword [eax + 0x77c], 0
je 0x486419
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x486421
or dword [eax + 0x79c], 0x20
jmp 0x48642b
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
je 0x486540
push 3
call fcn.0042a110
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xe0
ret