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

Disassembly:
push 0xffffffffffffffff
push 0x41a758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00402500
mov edi, 0x41b248
mov dword [esp + 0x10], edi
push 0xffffffffffffffff
push str.jre_order
lea ecx, [esp + 0x70]
mov dword [esp + 0x128], 1
call fcn.00402500
mov dword [esp + 0x68], edi
push 1
push 0
push 0
lea eax, [esp + 0x74]
push 0
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x138], 2
call fcn.00406420
mov bl, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x120], bl
call fcn.00402b70
mov eax, dword [esp + 0x2c]
xor edi, edi
test eax, eax
jle 0x406e3c
mov edx, dword [esp + 0x28]
movsx eax, byte [edx + edi]
push eax
call fcn.0040de3d
mov ecx, dword [esp + 0x2c]
add esp, 4
mov byte [ecx + edi], al
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x406e1b
xor edi, edi
test eax, eax
jle 0x406e6a
mov edx, dword [esp + 0x28]
mov al, byte [edx + edi]
push eax
push str.cbsie
call fcn.004029c0
add esp, 8
test al, al
jne 0x406e66
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x406e42
jmp 0x406e6a
test edi, edi
jge 0x406ea4
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x28]
call dword [edx + 4]
push 0xffffffffffffffff
push str.cbsie
lea ecx, [esp + 0x54]
call fcn.00402630
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x124], 5
call fcn.004023e0
mov byte [esp + 0x120], bl
mov ecx, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x44], eax
mov ebp, 0x41b27c
jle 0x407355
mov ecx, dword [esp + 0x28]
movsx eax, byte [ecx + eax]
add eax, 0xffffff9e
cmp eax, 0x11
ja case.0x406ed7.103
xor edx, edx
mov dl, byte [eax + 0x40753c]
jmp dword [edx*4 + 0x407524]
push 0xffffffffffffffff
push str.jvmdll
lea ecx, [esp + 0x90]
call fcn.00402500
mov dword [esp + 0x88], 0x41b248
push 1
push 0
push 0
lea eax, [esp + 0x94]
push 0
lea ecx, [esp + 0xb8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x138], 6
call fcn.00406420
push 0
lea edx, [esp + 0xfc]
push eax
push edx
mov byte [esp + 0x12c], 7
call fcn.00406730
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 8
call dword [eax + 4]
push edi
lea ecx, [esp + 0x14]
call fcn.004023e0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 7
call fcn.00402b70
lea ecx, [esp + 0xa8]
mov byte [esp + 0x120], 6
call fcn.00402b70
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], bl
call fcn.00402b70
push 0x422acc
lea ecx, [esp + 0x14]
call fcn.00404cd0
test eax, eax
je case.0x406ed7.103
lea ecx, [esp + 0x10]
lea edx, [esp + 0xd8]
push ecx
push edx
mov ecx, esi
call fcn.00406250
mov edi, eax
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 9
call dword [eax + 4]
push edi
lea ecx, [esp + 0x14]
call fcn.004023e0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x120], bl
call fcn.00402b70
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x14]
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push eax
call fcn.00409720
add esp, 4
test eax, eax
jne 0x4073d8
jmp case.0x406ed7.103
push 0xffffffffffffffff
push 0x41f3a8
lea ecx, [esp + 0x60]
call fcn.00402500
mov dword [esp + 0x58], 0x41b248
push 1
push 0
push 0
lea ecx, [esp + 0x64]
push 0
lea edx, [esp + 0xc8]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x138], 0xa
call fcn.00406420
push 0
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x128], 0xb
push eax
call fcn.00406730
add esp, 0xc
lea ecx, [esp + 0xb8]
mov byte [esp + 0x120], 0xe
call fcn.00402b70
lea ecx, [esp + 0x58]
mov byte [esp + 0x120], 0xd
call fcn.00402b70
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4070e2
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x38]
call dword [edx + 4]
push 0xffffffffffffffff
push str.._jre_
lea ecx, [esp + 0x54]
call fcn.00402630
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x124], 0xf
call fcn.004023e0
mov byte [esp + 0x120], 0xd
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0x34]
lea edx, [esp + 0xc8]
push ecx
push edx
mov ecx, esi
call fcn.00406250
mov edi, eax
mov eax, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x124], 0x10
call dword [eax + 4]
push edi
lea ecx, [esp + 0x38]
call fcn.004023e0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x120], 0xd
call fcn.00402b70
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x38]
call dword [edx + 4]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xe8]
push eax
push ecx
mov ecx, esi
call fcn.004078c0
mov edi, eax
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 0x11
call dword [edx + 4]
push edi
lea ecx, [esp + 0x14]
call fcn.004023e0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x120], 0xd
call fcn.00402b70
push 0x422acc
lea ecx, [esp + 0x14]
call fcn.00404cd0
test eax, eax
jne 0x4073fb
lea ecx, [esp + 0x34]
mov byte [esp + 0x120], bl
call fcn.00402b70
jmp case.0x406ed7.103
lea eax, [esp + 0x108]
mov ecx, esi
push eax
call fcn.00407550
mov edi, eax
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 0x12
call dword [edx + 4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402460
lea ecx, [esp + 0x108]
mov byte [esp + 0x120], bl
call fcn.00402b70
push 0x422acc
lea ecx, [esp + 0x14]
call fcn.00404cd0
test eax, eax
jne 0x40742e
jmp case.0x406ed7.103
sub esp, 0x10
mov dword [esp + 0x58], esp
mov edi, esp
push 0xffffffffffffffff
push str.SOFTWAREJavaSoftJava_Runtime_Environment
mov ecx, edi
call fcn.00402500
lea eax, [esp + 0x88]
mov ecx, esi
push eax
mov dword [edi], 0x41b248
call fcn.00407e00
mov edi, eax
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 0x13
call dword [edx + 4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402460
mov edi, 0x41b238
mov dword [esp + 0x78], edi
lea ecx, [esp + 0x78]
mov byte [esp + 0x120], 0x14
call fcn.0040a4e0
push 0x422acc
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], bl
mov dword [esp + 0x7c], ebp
call fcn.00404cd0
test eax, eax
jne 0x407476
jmp case.0x406ed7.103
sub esp, 0x10
mov dword [esp + 0x58], esp
mov edi, esp
push 0xffffffffffffffff
push 0x41f34c
mov ecx, edi
call fcn.00402500
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
mov dword [edi], 0x41b248
call fcn.00407e00
mov edi, eax
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 0x17
call dword [edx + 4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402460
mov edi, 0x41b238
mov dword [esp + 0x98], edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x120], 0x18
call fcn.0040a4e0
push 0x422acc
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], bl
mov dword [esp + 0x9c], ebp
call fcn.00404cd0
test eax, eax
jne 0x4074cd
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x406ebb
mov esi, dword [esp + 0x128]
push 0xffffffffffffffff
push 0x422acc
mov ecx, esi
call fcn.00402500
mov edi, 0x41b238
mov dword [esi], 0x41b248
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x1b
call fcn.0040a4e0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0x1c
call fcn.00405b10
test eax, eax
je 0x4073bb
push eax
call fcn.0040c2f0
add esp, 4
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x114
ret 4
mov esi, dword [esp + 0x128]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0040a3c0
mov dword [esi], 0x41b248
mov dword [esp + 0x20], 1
jmp 0x40744f
mov esi, dword [esp + 0x128]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0040a3c0
lea ecx, [esp + 0x34]
mov dword [esi], 0x41b248
mov dword [esp + 0x20], 1
mov byte [esp + 0x120], bl
call fcn.00402b70
jmp 0x40744f
mov esi, dword [esp + 0x128]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0040a3c0
mov dword [esi], 0x41b248
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 1
call fcn.00402b70
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 0
call fcn.00402b70
jmp 0x4073bb
mov esi, dword [esp + 0x128]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0040a3c0
mov dword [esi], 0x41b248
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x15
call fcn.0040a4e0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0x16
call fcn.0040a4e0
jmp 0x4073bb
mov esi, dword [esp + 0x128]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0040a3c0
mov dword [esi], 0x41b248
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x19
call fcn.0040a4e0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0x1a
call fcn.0040a4e0
jmp 0x4073bb