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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc0ec9b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [str.g.0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [str.g.0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xb4d1a1
mov cl, byte [eax]
cmp cl, 0x80
jae 0xb4d1a1
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0xb4d1ab
mov ecx, ebx
call fcn.00be0890
mov dword [ebx + 0x14], eax
test eax, eax
je 0xb4d868
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0xb4d1c2
jmp dword [ecx*4 + 0xb4d8b8]
test al, 7
jne case.default.0xb4d1c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xb4d1ed
mov cl, byte [eax]
cmp cl, 0x80
jae 0xb4d1ed
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0xb4d201
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00be0790
test al, al
je 0xb4d8b1
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
or dword [esi + 0x48], 1
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xb4d180
cmp byte [eax], 0x12
jne 0xb4d180
inc eax
mov dword [ebx + 4], eax
jmp 0xb4d23d
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xb4d1c2
mov esi, dword [esp + 0x28]
or dword [esi + 0x48], 2
cmp dword [esi + 8], 0xc406e0
jne 0xb4d27b
push 0x1c
call fcn.00ba2640
add esp, 4
test eax, eax
je 0xb4d26b
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xb4d26d
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push eax
push ebx
call fcn.00bdaaf0
add esp, 8
test al, al
je 0xb4d8b1
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xb4d180
cmp byte [eax], 0x1a
jne 0xb4d180
inc eax
mov dword [ebx + 4], eax
jmp 0xb4d2bd
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xb4d1c2
mov esi, dword [esp + 0x28]
mov edi, esi
call fcn.00b45600
push eax
push ebx
call fcn.00bdaaa0
add esp, 8
test al, al
je 0xb4d8b1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xb4d2e4
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00bdadd0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, dword [ebx + 8]
jae 0xb4d180
cmp byte [eax], 0x22
jne 0xb4d180
inc eax
mov dword [ebx + 4], eax
jmp 0xb4d320
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xb4d1c2
mov esi, dword [esp + 0x28]
lea ecx, [ecx]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jge 0xb4d338
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x1c], eax
mov eax, ecx
jmp 0xb4d362
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0xb4d349
inc eax
push eax
lea ecx, [esi + 0x18]
call fcn.00bbbf50
mov edi, 1
add dword [esi + 0x20], edi
call fcn.00bbbfd0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
add dword [esi + 0x1c], edi
push eax
push ebx
call fcn.00bdaaa0
add esp, 8
test al, al
je 0xb4d8b1
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x1c]
dec edi
cmp edi, dword [esi + 0x1c]
jl 0xb4d3c1
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.00bbb6d0
mov ecx, 1
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x30]
call fcn.00bbbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 1
je 0xb4d3e1
and dword [esp + 0x24], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.00bbb700
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + edi*4]
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0x1c]
mov ebx, dword [eax + 0x10]
dec edi
cmp edi, dword [esi + 0x1c]
jl 0xb4d437
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x39], 0
call fcn.00bbb6d0
mov ecx, 2
mov dword [esp + 0x98], ecx
or dword [esp + 0x24], ecx
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x31]
call fcn.00bbbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 2
je 0xb4d457
and dword [esp + 0x24], 0xfffffffd
lea ecx, [esp + 0x60]
call fcn.00bbb700
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0xb4d465
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.00bdadd0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0xb4d48d
cmp byte [eax], 0x22
jne 0xb4d48d
inc eax
mov dword [ecx + 4], eax
mov ebx, ecx
jmp 0xb4d320
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0xb4d180
cmp byte [eax], 0x2a
jne 0xb4d180
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0xb4d4b8
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xb4d1c2
mov edi, dword [esp + 0x28]
call fcn.00b45710
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00bdaaa0
add esp, 8
test al, al
je 0xb4d8b1
mov eax, dword [edi + 0x28]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xb4d4e5
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00bdadd0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0xb4d180
cmp byte [eax], 0x30
jne 0xb4d180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0xb4d516
test al, 7
jne case.default.0xb4d1c2
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0xb4d536
mov cl, byte [eax]
cmp cl, 0x80
jae 0xb4d536
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [esi + 4], eax
jmp 0xb4d54a
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00be0790
test al, al
je 0xb4d8b1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
or dword [eax + 0x48], 0x20
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0xb4d180
cmp byte [eax], 0x3a
jne 0xb4d180
inc eax
mov edx, esi
mov dword [edx + 4], eax
jmp 0xb4d584
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xb4d1c2
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edi, 1
cmp eax, ecx
jge 0xb4d5a5
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x30], eax
mov eax, ecx
jmp 0xb4d5ca
mov eax, dword [esi + 0x38]
cmp ecx, eax
jne 0xb4d5b6
inc eax
push eax
lea ecx, [esi + 0x2c]
call fcn.00bbbf50
add dword [esi + 0x34], edi
call fcn.00bbbfd0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
mov dword [edx + ecx*4], eax
add dword [esi + 0x30], edi
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00bdaaa0
add esp, 8
test al, al
je 0xb4d8b1
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 0x30]
dec edi
cmp edi, dword [esi + 0x30]
jl 0xb4d62d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3a], 0
call fcn.00bbb6d0
mov dword [esp + 0x98], 3
or dword [esp + 0x24], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x32]
call fcn.00bbbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 4
je 0xb4d64d
and dword [esp + 0x24], 0xfffffffb
lea ecx, [esp + 0x60]
call fcn.00bbb700
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + edi*4]
mov ebx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x30]
dec edi
cmp edi, dword [esi + 0x30]
jl 0xb4d6a3
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x44]
mov byte [esp + 0x3b], 0
call fcn.00bbb6d0
mov dword [esp + 0x98], 4
or dword [esp + 0x24], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x33]
call fcn.00bbbc10
mov dword [esp + 0x98], 0xffffffff
test byte [esp + 0x24], 8
je 0xb4d6c3
and dword [esp + 0x24], 0xfffffff7
lea ecx, [esp + 0x38]
call fcn.00bbb700
mov ecx, dword [esi + 0x2c]
mov edi, dword [ecx + edi*4]
cmp dword [edi + 0x14], 0x10
jb 0xb4d6d1
mov edi, dword [edi]
push 0
push ebx
push edi
call fcn.00bdadd0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
add esp, 0xc
cmp eax, dword [ecx + 8]
jae 0xb4d6f9
cmp byte [eax], 0x3a
jne 0xb4d6f9
inc eax
mov edx, ecx
mov dword [edx + 4], eax
jmp 0xb4d588
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0xb4d180
cmp byte [eax], 0x42
jne 0xb4d180
inc eax
mov dword [ecx + 4], eax
jmp 0xb4d722
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xb4d1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x80
cmp dword [edi + 0x3c], 0xc406e0
jne 0xb4d767
push 0x1c
call fcn.00ba2640
add esp, 4
test eax, eax
je 0xb4d757
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xb4d759
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x3c]
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00bdaaa0
add esp, 8
test al, al
je 0xb4d8b1
mov eax, dword [edi + 0x3c]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xb4d78e
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00bdadd0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jae 0xb4d180
cmp byte [eax], 0x4a
jne 0xb4d180
inc eax
mov ecx, esi
mov dword [ecx + 4], eax
jmp 0xb4d7c5
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xb4d1c2
mov edi, dword [esp + 0x28]
or dword [edi + 0x48], 0x100
cmp dword [edi + 0x40], 0xc406e0
jne 0xb4d80a
push 0x1c
call fcn.00ba2640
add esp, 4
test eax, eax
je 0xb4d7fa
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xb4d7fc
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00bdaaa0
add esp, 8
test al, al
je 0xb4d8b1
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0xb4d831
mov eax, dword [eax]
push 0
push ecx
push eax
call fcn.00bdadd0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jne 0xb4d180
mov eax, esi
cmp dword [eax + 0x20], 0
jne 0xb4d85d
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x1c]
jne 0xb4d180
mov dword [eax + 0x14], 0
mov byte [eax + 0x18], 1
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00ba2239
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 4
je 0xb4d868
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
push eax
push ebx
call fcn.00bdb550
add esp, 0xc
test al, al
jne 0xb4d180
xor al, al
jmp 0xb4d86a