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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edx, dword [ecx + 0x14]
test edx, edx
mov dword [ebp - 0x10], ecx
jle 0x604045
mov ecx, dword [ecx + 0x1c]
xor edi, edi
mov ebx, edx
jmp 0x604037
mov eax, dword [esi + 4]
add ebx, eax
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ebx
inc edi
mov ebx, eax
cmp edx, edi
je 0x604047
mov esi, dword [ecx + edi*4 + 4]
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x60401d
jmp 0x60401a
mov eax, edx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 8]
test dl, dl
je 0x6041a4
test dl, 1
je 0x60407f
mov edi, dword [ebx + 0x20]
and edi, 0xfffffffc
movsx esi, byte [edi + 0xb]
test esi, esi
jns 0x60406b
mov esi, dword [edi + 4]
add eax, esi
or esi, 1
bsr ecx, esi
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
inc eax
test dl, 2
je 0x6040a9
mov edi, dword [ebx + 0x24]
and edi, 0xfffffffc
movsx esi, byte [edi + 0xb]
test esi, esi
jns 0x604095
mov esi, dword [edi + 4]
add eax, esi
or esi, 1
bsr ecx, esi
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
inc eax
test dl, 4
je 0x6040d3
mov edi, dword [ebx + 0x28]
and edi, 0xfffffffc
movsx esi, byte [edi + 0xb]
test esi, esi
jns 0x6040bf
mov esi, dword [edi + 4]
add eax, esi
or esi, 1
bsr ecx, esi
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
inc eax
test dl, 8
je 0x6040fd
mov edi, dword [ebx + 0x2c]
and edi, 0xfffffffc
movsx esi, byte [edi + 0xb]
test esi, esi
jns 0x6040e9
mov esi, dword [edi + 4]
add eax, esi
or esi, 1
bsr ecx, esi
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
inc eax
test dl, 0x10
je 0x604127
mov edi, dword [ebx + 0x30]
and edi, 0xfffffffc
movsx esi, byte [edi + 0xb]
test esi, esi
jns 0x604113
mov esi, dword [edi + 4]
add eax, esi
or esi, 1
bsr ecx, esi
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
inc eax
test dl, 0x20
je 0x604151
mov ecx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
or ecx, 1
bsr ecx, ecx
bsr edi, esi
xor edi, 0x20
test esi, esi
cmove edi, ecx
lea ecx, [edi + edi*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
test dl, 0x40
je 0x60417b
mov ecx, dword [ebx + 0x40]
mov esi, dword [ebx + 0x44]
or ecx, 1
bsr ecx, ecx
bsr edi, esi
xor edi, 0x20
test esi, esi
cmove edi, ecx
lea ecx, [edi + edi*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
test dl, dl
jns 0x6041a4
mov ecx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x4c]
or ecx, 1
bsr ecx, ecx
bsr edi, esi
xor edi, 0x20
test esi, esi
cmove edi, ecx
lea ecx, [edi + edi*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
test edx, 0x1f00
je 0x604285
bt edx, 8
jae 0x6041db
mov ecx, dword [ebx + 0x50]
mov esi, dword [ebx + 0x54]
or ecx, 1
bsr ecx, ecx
bsr edi, esi
xor edi, 0x20
test esi, esi
cmove edi, ecx
lea ecx, [edi + edi*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
bt edx, 9
jae 0x604206
mov ecx, dword [ebx + 0x58]
mov esi, dword [ebx + 0x5c]
or ecx, 1
bsr ecx, ecx
bsr edi, esi
xor edi, 0x20
test esi, esi
cmove edi, ecx
lea ecx, [edi + edi*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
bt edx, 0xa
jae 0x604231
mov ecx, dword [ebx + 0x60]
mov esi, dword [ebx + 0x64]
or ecx, 1
bsr ecx, ecx
bsr edi, esi
xor edi, 0x20
test esi, esi
cmove edi, ecx
lea ecx, [edi + edi*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
bt edx, 0xb
jae 0x60425c
mov ecx, dword [ebx + 0x68]
mov esi, dword [ebx + 0x6c]
or ecx, 1
bsr ecx, ecx
bsr edi, esi
xor edi, 0x20
test esi, esi
cmove edi, ecx
lea ecx, [edi + edi*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
bt edx, 0xc
jae 0x604285
mov ecx, dword [ebx + 0x70]
mov edx, ecx
or edx, 1
bsr edx, edx
lea edx, [edx + edx*8]
add edx, 0x49
shr edx, 6
add edx, 2
test ecx, ecx
mov ecx, 0xc
cmovns ecx, edx
add eax, ecx
mov edx, dword [ebx + 0x88]
cmp edx, 0xf
jle 0x6042b3
cmp edx, 0x10
je 0x60429a
cmp edx, 0x1b
jne 0x6042d4
mov ecx, dword [ebx + 0x74]
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
add eax, 2
jmp 0x6042d4
cmp edx, 0xe
je 0x6042bd
cmp edx, 0xf
jne 0x6042d4
mov ecx, dword [ebx + 0x74]
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x89
shr ecx, 6
add eax, ecx
mov ecx, dword [ebx + 0x8c]
add ecx, 0xffffffef
cmp ecx, 2
ja 0x6042f9
mov ecx, dword [ebx + 0x78]
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
add eax, 2
mov ecx, dword [ebx + 0x90]
add ecx, 0xffffffec
cmp ecx, 2
ja 0x60431e
mov ecx, dword [ebx + 0x7c]
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
add eax, 2
mov edx, dword [ebx + 0x94]
add edx, 0xffffffe9
cmp edx, 5
ja case.0x60432c.26
jmp dword [edx*4 + 0x6e7f1c]
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x84]
or ecx, 1
bsr ecx, ecx
bsr esi, edx
xor esi, 0x20
test edx, edx
cmove esi, ecx
lea ecx, [esi + esi*8]
add ecx, 0x49
jmp 0x60436a
mov ecx, dword [ebx + 0x80]
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add eax, ecx
add eax, 2
mov edx, dword [ebx + 4]
test dl, 1
je 0x60438a
and edx, 0xfffffffc
movsx esi, byte [edx + 0xf]
test esi, esi
jns 0x604388
mov esi, dword [edx + 8]
add eax, esi
mov dword [ebx + 0xc], eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret