Function at 0x49275a
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x100b7000]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
xor eax, eax
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x100aec44
lea eax, [esp + 0x70]
push eax
push 0x64
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], edx
call fcn.0044eb2a
mov ebx, dword [edi]
mov ecx, dword [ebx + 0x24]
add esp, 0x10
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
test esi, esi
je 0x492881
mov edx, dword [esp + 0x2c]
push edx
push edi
mov eax, esi
call fcn.004843ca
add esp, 8
test eax, eax
jne 0x492881
mov ecx, dword [ebx]
push eax
lea eax, [esp + 0x30]
push eax
push esi
push ecx
call fcn.0048dd3a
add esp, 0x10
test eax, eax
jne 0x49286d
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp esi, 1
setne cl
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x34]
dec cl
mov dword [ebx + 0x48], esi
and cl, 0x64
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x34], eax
mov byte [ebx + 5], cl
mov esi, ebx
mov dword [esp + 0x24], ebx
mov byte [ebx], 0
call fcn.0048921a
test eax, eax
je 0x492898
push eax
push 0x100aec78
lea eax, [esp + 0x70]
push eax
push edi
call fcn.00483e2a
mov eax, dword [ebx + 0x44]
add esp, 0x10
call fcn.0043d42a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret
push eax
push 0x100aec50
lea edx, [esp + 0x70]
push edx
push edi
call fcn.00483e2a
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
cmp cx, word [ebx + 0x10]
jae 0x492ac3
cmp dword [edi + 0x10], 0
je 0x492ac3
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
push esi
push edx
push 0x100aeca0
lea eax, [esp + 0x74]
push eax
push 0x64
call fcn.0044eb2a
mov ecx, dword [ebx + 0x40]
movzx edx, byte [ecx + esi*2 + 1]
lea eax, [ecx + esi*2]
movzx esi, byte [eax]
movzx eax, word [ebx + 0x12]
shl esi, 8
or esi, edx
and esi, eax
add esi, dword [ebx + 0x38]
add esp, 0x14
push esi
push ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], esi
call fcn.0043cb3a
mov edi, dword [esp + 0x5c]
add esp, 8
cmp byte [ebx + 2], 0
jne 0x492913
add edi, dword [esp + 0x48]
jmp 0x492975
cmp dword [esp + 0x14], 0
jne 0x49292c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jmp 0x49296d
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x4c], ecx
jg 0x492965
mov eax, dword [esp + 0x18]
jl 0x492942
cmp dword [esp + 0x48], eax
ja 0x492965
mov edx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x18]
push eax
push 0x100aecbc
lea ecx, [esp + 0x7c]
push ecx
push edx
call fcn.00483e2a
add esp, 0x1c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x5e]
cmp edi, eax
jbe 0x492a0d
mov edx, dword [esp + 0x34]
movzx ecx, word [esp + 0x60]
mov edx, dword [edx + 0x24]
add edx, dword [ebx + 0x38]
add ecx, esi
cmp ecx, edx
ja 0x492a0d
mov edx, dword [esp + 0x30]
sub edi, eax
lea eax, [edi + edx - 5]
lea edi, [edx - 4]
xor edx, edx
div edi
movzx edi, byte [ecx]
movzx edx, byte [ecx + 2]
shl edi, 8
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 1]
or edi, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x34]
shl edi, 8
or edi, edx
shl edi, 8
or edi, eax
cmp byte [ecx + 0x11], 0
je 0x4929f3
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x68]
push edx
push eax
mov bl, 3
call fcn.0048f3da
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
mov eax, edi
call fcn.00490bba
add esp, 0xc
cmp byte [ebx + 3], 0
jne 0x492aaa
movzx edi, byte [esi]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x34]
shl edi, 8
or edi, ecx
shl edi, 8
or edi, edx
cmp byte [eax + 0x11], 0
je 0x492a5a
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x68]
push ecx
push edx
mov bl, 5
call fcn.0048f3da
mov ebx, dword [esp + 0x2c]
add esp, 8
mov esi, dword [esp + 0x14]
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, ecx
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x70]
push eax
push edi
push ecx
call fcn.0049275a
add esp, 0x14
mov edi, eax
test esi, esi
jle 0x492aa6
cmp edi, dword [esp + 0x2c]
je 0x492aa6
mov eax, dword [esp + 0xc]
push 0x100aece8
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.00483e2a
add esp, 0xc
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx + 0x10]
mov edi, dword [esp + 0xc]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x4928ae
cmp byte [ebx + 3], 0
mov esi, dword [esp + 0x10]
jne 0x492b70
movzx edx, byte [ebx + 5]
mov eax, dword [ebx + 0x38]
movzx edi, byte [edx + eax + 8]
movzx ecx, byte [edx + eax + 9]
lea eax, [edx + eax + 8]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edi, 8
or edi, ecx
mov ecx, dword [ebp + 0xc]
shl edi, 8
push ecx
or edi, edx
push 0x100aed04
lea edx, [esp + 0x70]
push edx
shl edi, 8
push 0x64
or edi, eax
call fcn.0044eb2a
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp byte [eax + 0x11], 0
je 0x492b3a
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x68]
push ecx
push edx
mov bl, 5
call fcn.0048f3da
mov ebx, dword [esp + 0x2c]
add esp, 8
movzx eax, word [ebx + 0x10]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, ecx
push eax
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x70]
push edx
push edi
push eax
call fcn.0049275a
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add esp, 0x14
cmp byte [ebx + 3], 0
je 0x492c6a
cmp byte [ebx + 2], 0
je 0x492c6a
test esi, esi
je 0x492c32
mov edx, dword [esp + 0x28]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
test edx, edx
jne 0x492bc0
cmp dword [esp + 0x1c], eax
jl 0x492c6a
jg 0x492ba5
cmp dword [esp + 0x18], ecx
jbe 0x492c6a
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push 0x100aed20
lea eax, [esp + 0x7c]
push eax
jmp 0x492c61
cmp dword [esp + 0x3c], eax
jg 0x492bf1
jl 0x492bce
cmp dword [esp + 0x38], ecx
ja 0x492bf1
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push edx
push 0x100aed60
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.00483e2a
mov edx, dword [esp + 0x44]
add esp, 0x1c
mov eax, dword [edx + 4]
mov ecx, dword [edx]
cmp dword [esp + 0x1c], eax
jl 0x492c23
jg 0x492c04
cmp dword [esp + 0x18], ecx
jbe 0x492c23
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push 0x100aed9c
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.00483e2a
add esp, 0x1c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp 0x492c6a
mov eax, dword [esp + 0x28]
test eax, eax
je 0x492c6a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
cmp edx, eax
jg 0x492c6a
jl 0x492c4f
cmp dword [esp + 0x38], ecx
ja 0x492c6a
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push 0x100aeddc
lea ecx, [esp + 0x7c]
push ecx
push edi
call fcn.00483e2a
add esp, 0x1c
movzx eax, byte [ebx + 5]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x10], edx
call fcn.0044490a
mov esi, eax
test esi, esi
jne 0x492c97
mov dword [edi + 0x18], 1
jmp 0x492e54
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
movzx edi, byte [ecx + eax + 5]
movzx edx, byte [ecx + eax + 6]
mov eax, dword [esp + 0x30]
shl edi, 8
or edi, edx
dec edi
and edi, 0xffff
inc edi
sub eax, edi
push eax
lea ecx, [edi + esi]
push 0
push ecx
call fcn.004ce72a
add esp, 0xc
push edi
push 1
push esi
call fcn.004ce72a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
movzx eax, byte [ecx + edx + 3]
movzx edx, byte [ecx + edx + 4]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 3]
mov edi, 3
sub edi, edx
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x40], eax
lea ecx, [ecx + edi*4]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x492d9c
add ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax]
movzx edi, byte [eax + 1]
shl ecx, 8
or edi, ecx
lea ecx, [edx - 4]
mov eax, 0x10000
cmp edi, ecx
jg 0x492d51
mov edx, dword [esp + 0x10]
lea eax, [edi + edx]
push eax
mov eax, ebx
call fcn.0043ca7a
mov edx, dword [esp + 0x34]
add esp, 4
movzx eax, ax
lea eax, [eax + edi - 1]
cmp eax, edx
jl 0x492d7c
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push ecx
push edx
push 0x100aee18
push 0
push eax
call fcn.00483e2a
mov edx, dword [esp + 0x44]
add esp, 0x14
jmp 0x492d88
cmp eax, edi
jl 0x492d88
inc byte [eax + esi]
dec eax
cmp eax, edi
jge 0x492d80
mov eax, dword [esp + 0x14]
add dword [esp + 0x28], 2
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x40]
jl 0x492d1c
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
movzx ecx, byte [edi + eax + 1]
movzx edi, byte [edi + eax + 2]
shl ecx, 8
or ecx, edi
jle 0x492ded
jmp 0x492dba
movzx edi, byte [eax + ecx + 2]
movzx eax, byte [eax + ecx + 3]
shl edi, 8
or edi, eax
lea eax, [edi + ecx - 1]
cmp eax, ecx
jl 0x492dd9
inc byte [eax + esi]
dec eax
cmp eax, ecx
jge 0x492dd1
mov eax, dword [esp + 0x10]
movzx edi, byte [eax + ecx]
movzx ecx, byte [eax + ecx + 1]
shl edi, 8
or ecx, edi
jg 0x492dba
xor edi, edi
xor eax, eax
test edx, edx
jle 0x492e29
jmp 0x492dfa
mov cl, byte [eax + esi]
test cl, cl
jne 0x492e04
inc edi
jmp 0x492e09
cmp cl, 1
jg 0x492e10
inc eax
cmp eax, edx
jl 0x492dfa
jmp 0x492e29
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x14]
push 0x100aee44
push 0
push eax
call fcn.00483e2a
add esp, 0x14
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
movzx eax, byte [ecx + edx + 7]
cmp edi, eax
je 0x492e54
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
push ecx
push eax
push edi
push 0x100aee6c
push 0
push edx
call fcn.00483e2a
add esp, 0x18
call fcn.0043deba
mov eax, dword [ebx + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x492ea2
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004ce8ca
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
add esp, 0x10
jmp 0x492f1b
or edx, 0xffffffff
add word [eax + 0x1a], dx
jne 0x492f1b
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0xc], edx
test byte [eax + 0x18], 2
jne 0x492ee1
mov ecx, dword [eax + 0x1c]
cmp byte [ecx + 0x1c], 0
je 0x492f1b
cmp dword [eax + 0x14], 1
jne 0x492ecd
mov dword [ecx + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
push 0
push eax
push ecx
call dword [0x100b7098]
add esp, 0xc
jmp 0x492f1b
call fcn.0042f5aa
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
test edx, edx
je 0x492ef7
mov dword [edx + 0x24], eax
jmp 0x492f01
cmp byte [ecx + 0x1c], 0
je 0x492f01
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 4], 0
mov dword [ecx], eax
jne 0x492f0c
mov dword [ecx + 4], eax
cmp dword [ecx + 8], 0
jne 0x492f1b
test byte [eax + 0x18], 4
jne 0x492f1b
mov dword [ecx + 8], eax
cmp dword [ebx + 0x78], 0
jne 0x492f72
mov edx, dword [ebx + 0xdc]
cmp dword [edx + 0xc], 0
jne 0x492f72
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x492f6d
test al, al
je 0x492f6d
cmp al, 2
jb 0x492f5b
mov eax, dword [0x100b873c]
test eax, eax
je 0x492f47
call eax
mov eax, ebx
call fcn.0048ba7a
mov eax, dword [0x100b8740]
test eax, eax
je 0x492f6d
call eax
jmp 0x492f6d
cmp byte [ebx + 4], 0
jne 0x492f6d
push 0
push 0
call fcn.004442da
add esp, 8
call fcn.004483da
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.00428ac4
mov esp, ebp
pop ebp
ret