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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp], edx
mov esi, ecx
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ecx, dword [0x6d6f40]
xor ecx, esp
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x160]
cmp dword [esi + 0x90], edx
jne 0x58d8fc
lea ebx, [esi + 0x11c]
lea edi, [esi + 0x120]
jmp 0x58d905
mov ebx, dword [esi + 0x128]
lea edi, [ebx + 4]
mov dword [esp + 4], edi
lea edi, [esi + 0x19c]
mov dword [esp + 0x14], ecx
lea ecx, [ecx + 0x50]
mov dword [ebx], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
push ecx
push dword [esp + 0x7c]
push eax
push edx
call dword [edx + 4]
add esp, 0x10
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 4]
add eax, 5
cmp eax, 0x12
mov dword [ecx], edi
ja case.default.0x58d95c
mov ebp, 0x11
jmp dword [eax*4 + 0x6a206c]
cmp byte [esp + 0x80], 0
je 0x58d976
mov eax, dword [esp + 0x74]
jmp 0x58e2f3
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x58d9a0
mov byte [esp + 0x4f], 0xa
lea ecx, [esp + 0x4f]
push 1
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
mov edi, dword [esp]
jmp 0x58d9bf
cmp dword [esi + 0x50], 0
mov edi, dword [esp]
je 0x58d9bf
mov edx, dword [esp + 0x70]
mov ecx, esi
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.0058a070
add esp, 8
test edi, edi
jne 0x58d9cd
mov ebp, 3
jmp case.0x58d95c.12
cmp dword [esi + 0x134], edi
mov ebp, 0xd
jne case.0x58d95c.12
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
jmp 0x58e2f9
cmp byte [esp + 0x80], 0
jne 0x58d96d
mov eax, dword [esp]
test eax, eax
jg 0x58da0c
mov ebp, 3
jmp case.0x58d95c.12
cmp dword [esi + 0x134], eax
mov ebp, 0xd
je 0x58d96d
jmp case.0x58d95c.12
mov dword [ebx], edi
mov ebp, 4
jmp case.0x58d95c.12
cmp byte [esp + 0x80], 0
jne 0x58d96d
mov ebp, 5
jmp case.0x58d95c.12
cmp byte [esp + 0x80], 0
jne 0x58d96d
mov ebp, 6
jmp case.0x58d95c.12
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp + 0x40]
sub edi, eax
add eax, dword [esp + 0x74]
push edi
push eax
push ebp
call dword [ebp + 0x2c]
add esp, 0xc
test al, al
mov byte [esp + 0x4e], al
je 0x58dab0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x58da97
push 1
lea ecx, [esp + 0x52]
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x58e2c2
cmp dword [esi + 0x50], 0
je 0x58e2c2
mov edx, dword [esp + 0x70]
mov ecx, esi
push dword [esp + 0x50]
jmp 0x58e2b6
mov ebx, esi
mov eax, dword [esp + 0x50]
mov esi, dword [ebp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, ebp
sub eax, esi
add esi, dword [esp + 0x74]
push eax
push esi
call fcn.0058c280
add esp, 8
mov ebp, 1
test eax, eax
je case.0x58d95c.12
mov esi, ebx
mov ecx, ebx
mov ebx, dword [esp + 0x14]
mov edi, eax
mov edx, ebx
push 0
push eax
call fcn.0058c2d0
add esp, 8
mov ecx, dword [ebx + 0x60]
mov edx, eax
mov dword [ebx + 0x5c], ecx
cmp byte [ebx + 0x81], 0
je 0x58db0d
cmp byte [ebx + 0x82], 0
je 0x58db2b
test edx, edx
jne 0x58db1b
mov ebp, 0xb
jmp case.0x58d95c.12
cmp byte [edx + 0x22], 0
jne 0x58db42
mov ebp, 0x18
jmp case.0x58d95c.12
test edx, edx
jne 0x58db42
mov eax, dword [esi + 0x78]
test eax, eax
je 0x58da97
push 0
push edi
jmp 0x58da8a
cmp byte [edx + 0x20], 0
je 0x58db52
mov ebp, 0xc
jmp case.0x58d95c.12
cmp dword [edx + 0x1c], 0
je 0x58db62
mov ebp, 0xf
jmp case.0x58d95c.12
cmp dword [edx + 4], 0
je 0x58dba0
cmp byte [esi + 0x130], 0
jne 0x58db85
mov eax, dword [esi + 0x78]
test eax, eax
je 0x58da97
push 0
push dword [edx]
jmp 0x58da8a
mov ecx, esi
push 0
call fcn.0058d210
add esp, 4
test eax, eax
je 0x58e2c2
mov ebp, eax
jmp case.0x58d95c.12
cmp dword [esi + 0x70], 0
je 0x58da97
mov ecx, esi
mov byte [edx + 0x20], 1
mov edi, edx
call fcn.0058e3c0
test eax, eax
mov byte [edi + 0x20], 0
je case.0x58d95c.12
push dword [edi + 0x18]
push dword [edi + 0x10]
push dword [edi + 0x14]
push eax
push dword [esi + 0x74]
call dword [esi + 0x70]
add esp, 0x14
test eax, eax
jne 0x58dbe4
mov ebp, 0x15
jmp case.0x58d95c.12
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x1a8], eax
jmp 0x58e2c2
mov edi, dword [esi + 0x16c]
test edi, edi
je 0x58dc09
mov eax, dword [edi]
mov dword [esi + 0x16c], eax
jmp 0x58dc41
push 0x30
call dword [esi + 0xc]
add esp, 4
mov ebp, 1
test eax, eax
je case.0x58d95c.12
mov edi, eax
push 0x20
call dword [esi + 0xc]
add esp, 4
test eax, eax
mov dword [edi + 0x24], eax
jne 0x58dc3b
push edi
call dword [esi + 0x14]
add esp, 4
jmp case.0x58d95c.12
add eax, 0x20
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov ebx, esi
mov eax, dword [esi + 0x168]
mov dword [edi], eax
mov dword [esi + 0x168], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
add eax, dword [esi + 0x40]
mov dword [edi + 4], eax
push eax
push esi
call dword [esi + 0x1c]
add esp, 8
mov dword [edi + 8], eax
inc dword [ebx + 0x134]
mov eax, dword [edi + 4]
mov ebp, dword [edi + 8]
mov dword [esp + 0x44], eax
add ebp, eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x28]
dec eax
push eax
lea eax, [esp + 0x4c]
push eax
push ebp
lea eax, [esp + 0x50]
push eax
push esi
call dword [esi + 0x38]
add esp, 0x14
mov esi, dword [esp + 0x48]
mov ecx, dword [edi + 0x24]
mov ebx, esi
sub ebx, ecx
cmp eax, 1
je 0x58dd12
cmp dword [esp + 0x44], ebp
jae 0x58dd12
mov esi, dword [edi + 0x28]
sub esi, ecx
add esi, esi
push esi
push ecx
mov eax, dword [esp + 0x18]
call dword [eax + 0x10]
add esp, 8
test eax, eax
jne 0x58dce6
mov ebp, 1
jmp case.0x58d95c.12
mov dword [edi + 0x24], eax
lea ecx, [eax + esi]
add ebx, eax
lea eax, [eax + esi - 1]
mov dword [edi + 0x28], ecx
mov dword [esp + 0x48], ebx
push eax
lea eax, [esp + 0x4c]
push eax
push ebp
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x80]
push eax
call dword [eax + 0x38]
jmp 0x58dcac
mov dword [edi + 0x18], ebx
mov dword [edi + 0xc], ecx
mov byte [esi], 0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
lea eax, [edi + 0x2c]
lea edi, [edi + 0xc]
mov ecx, esi
push eax
push edi
push dword [esp + 0x7c]
call fcn.0058e710
add esp, 0xc
test eax, eax
je 0x58dd44
mov ebp, eax
jmp case.0x58d95c.12
mov eax, dword [esi + 0x34]
test eax, eax
je 0x58dd5d
push dword [esi + 0x184]
push dword [edi]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x58dd79
cmp dword [esi + 0x50], 0
je 0x58dd79
mov edx, dword [esp + 0x70]
mov ecx, esi
push dword [esp + 0x50]
push dword [esp + 0x78]
call fcn.0058a070
add esp, 8
mov ecx, dword [esp + 8]
call fcn.005892a0
jmp 0x58e2c2
mov edi, esi
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
add esi, dword [ebp + 0x40]
mov dword [esp + 0x40], 0
push esi
push ebp
call dword [ebp + 0x1c]
add esp, 8
mov ecx, dword [esp + 8]
add eax, esi
mov edx, ebp
push eax
push esi
call fcn.0058c280
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
jne 0x58ddc8
mov ebp, 1
jmp case.0x58d95c.12
mov eax, dword [edi + 0x1a8]
mov esi, edi
mov ecx, edi
mov edx, ebp
mov dword [edi + 0x1ac], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x7c]
call fcn.0058e710
add esp, 0xc
test eax, eax
je 0x58de06
mov edx, dword [esp + 0x40]
mov ecx, esi
mov ebp, eax
call fcn.0058f140
jmp case.0x58d95c.12
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x1a8]
test eax, eax
mov dword [esi + 0x1ac], ecx
jne 0x58de20
mov ecx, 1
jmp 0x58de34
push dword [esi + 0x184]
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
add esp, 0xc
xor ecx, ecx
mov eax, dword [esi + 0x38]
mov edx, dword [esp + 0x70]
test eax, eax
je 0x58de5b
cmp dword [esi + 0x34], 0
je 0x58de50
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [esi + 0x38]
push dword [esp + 0x28]
push dword [esi + 4]
call eax
jmp 0x58de74
test ecx, ecx
je 0x58de77
cmp dword [esi + 0x50], 0
je 0x58de77
mov ecx, esi
push dword [esp + 0x50]
push dword [esp + 0x78]
call fcn.0058a070
add esp, 8
mov ecx, dword [esp + 8]
call fcn.005892a0
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0058f140
cmp dword [esi + 0x134], 0
jne 0x58e2c2
mov eax, dword [esi + 0x1dc]
cmp eax, 2
je 0x58e2c2
cmp eax, 3
jne 0x58e021
mov dword [esi + 0x114], fcn.0058f180
jmp 0x58e2c2
mov eax, dword [esp]
cmp dword [esi + 0x134], eax
jne 0x58ded4
mov ebp, 0xd
jmp case.0x58d95c.12
mov edi, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
mov ebp, dword [esp + 0x70]
mov ecx, dword [edi]
mov dword [esi + 0x168], ecx
mov dword [edi], eax
mov dword [esi + 0x16c], edi
mov ebx, dword [ebp + 0x40]
add ebx, ebx
add ebx, dword [esp + 0x74]
push ebx
push ebp
call dword [ebp + 0x1c]
add esp, 8
cmp eax, dword [edi + 8]
jne 0x58df1b
push eax
push ebx
push dword [edi + 4]
call fcn.00689e50
add esp, 0xc
test eax, eax
je 0x58df2b
mov eax, dword [esp + 0xc]
mov ebp, 7
mov dword [eax], ebx
jmp case.0x58d95c.12
dec dword [esi + 0x134]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x58df99
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x58df8f
mov dl, byte [esi + 0xe8]
test dl, dl
je 0x58df8f
mov eax, dword [edi + 0xc]
mov dl, byte [ecx]
add eax, dword [edi + 0x1c]
jmp 0x58df5b
mov byte [eax], dl
inc eax
movzx edx, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x58df53
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x58df89
mov dl, byte [esi + 0xe9]
test dl, dl
je 0x58df89
mov dl, byte [esi + 0x1d4]
mov byte [eax], dl
inc eax
mov dl, byte [ecx]
jmp 0x58df85
mov byte [eax], dl
inc eax
movzx edx, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x58df7d
mov byte [eax], 0
mov eax, dword [esi + 0x38]
push dword [edi + 0xc]
push dword [esi + 4]
call eax
jmp 0x58dfb0
cmp dword [esi + 0x50], 0
je 0x58dfb3
mov ecx, esi
mov edx, ebp
push dword [esp + 0x50]
push dword [esp + 0x78]
call fcn.0058a070
add esp, 8
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x58dff1
mov eax, dword [esi + 0x68]
mov ecx, ebx
test eax, eax
je 0x58dfd2
mov ecx, dword [ebx]
push dword [ecx]
push dword [esi + 4]
call eax
add esp, 8
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 4]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x174]
mov dword [ebx + 4], eax
mov dword [esi + 0x174], ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
jmp 0x58dfb3
cmp dword [esi + 0x134], 0
jne 0x58e2c2
mov eax, dword [esi + 0x1dc]
cmp eax, 2
je 0x58e2c2
cmp eax, 3
jne 0x58e021
mov dword [esi + 0x114], fcn.0058f180
jmp 0x58e2c2
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x58]
push esi
call fcn.0058f180
add esp, 0x10
mov ebp, eax
jmp case.0x58d95c.12
push dword [esp + 0x74]
mov eax, dword [esp + 0x74]
push eax
call dword [eax + 0x28]
add esp, 8
test eax, eax
jns 0x58e05a
mov ebp, 0xe
jmp case.0x58d95c.12
mov edi, esi
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x58e084
lea ecx, [esp + 0x54]
mov ebx, ecx
push ecx
push eax
call fcn.00590090
add esp, 8
push eax
push ebx
push dword [edi + 4]
call esi
add esp, 0xc
mov esi, edi
jmp 0x58e2c2
cmp dword [edi + 0x50], 0
mov esi, edi
jne 0x58daa1
jmp 0x58e2c2
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x58d95c
mov byte [esp + 0x27], 0xa
push 1
lea ecx, [esp + 0x2b]
jmp 0x58da89
mov eax, dword [esi + 0x48]
test eax, eax
je 0x58e0c5
push dword [esi + 4]
call eax
add esp, 4
mov ebx, dword [esp + 0x70]
jmp 0x58e0e0
cmp dword [esi + 0x50], 0
mov ebx, dword [esp + 0x70]
je 0x58e0e0
mov ecx, esi
mov edx, ebx
push edi
push dword [esp + 0x78]
call fcn.0058a070
add esp, 8
movzx eax, byte [esp + 0x80]
mov ecx, esi
mov edx, ebx
push eax
push dword [esp + 0x80]
push dword [esp + 0x80]
lea eax, [esp + 0x5c]
push eax
call fcn.0058f2e0
add esp, 0x10
test eax, eax
je 0x58e113
mov ebp, eax
jmp case.0x58d95c.12
cmp dword [esp + 0x50], 0
jne 0x58e2c2
mov dword [esi + 0x114], 0x58f4f0
jmp 0x58e2f9
cmp byte [esp + 0x80], 0
jne 0x58d96d
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x58e1a0
mov ecx, dword [esp + 0x70]
mov edi, dword [esp]
cmp byte [ecx + 0x44], 0
jne 0x58e18a
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push dword [esi + 0x30]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x80]
push eax
push ecx
call dword [ecx + 0x38]
add esp, 0x14
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x2c]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call dword [esi + 0x3c]
add esp, 0xc
jmp 0x58e1bf
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
sub edx, ecx
push edx
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x58e1bf
cmp dword [esi + 0x50], 0
mov edi, dword [esp]
mov edx, dword [esp + 0x70]
je 0x58e1bf
mov ecx, esi
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.0058a070
add esp, 8
test edi, edi
jne 0x58e1d3
mov eax, dword [esp + 0x78]
mov ebp, 3
mov dword [ebx], eax
jmp case.0x58d95c.12
cmp dword [esi + 0x134], edi
je 0x58d9de
mov eax, dword [esp + 0x78]
mov ebp, 0xd
mov dword [ebx], eax
jmp case.0x58d95c.12
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je case.default.0x58d95c
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0x44], 0
jne 0x58e25b
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x1c], eax
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
push edi
lea eax, [esp + 0x80]
push eax
push ecx
call dword [ecx + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x2c]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call ebx
add esp, 0xc
cmp edi, 2
jb 0x58e2c2
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
jmp 0x58e204
mov eax, dword [esp + 0x74]
sub edi, eax
push edi
push eax
push dword [esi + 4]
call ebx
add esp, 0xc
jmp 0x58e2c2
mov edx, dword [esp + 0x70]
mov ecx, esi
push edi
push dword [esp + 0x78]
call fcn.0058d3e0
add esp, 8
test eax, eax
jne 0x58e2c2
mov ebp, 1
jmp case.0x58d95c.12
mov edx, dword [esp + 0x70]
mov ecx, esi
push edi
push dword [esp + 0x78]
call fcn.0058d4b0
add esp, 8
test eax, eax
jne 0x58e2c2
mov ebp, 1
jmp case.0x58d95c.12
cmp dword [esi + 0x50], 0
je 0x58e2c2
mov edx, dword [esp + 0x70]
mov ecx, esi
push edi
push dword [esp + 0x78]
call fcn.0058a070
add esp, 8
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [ebx], eax
mov eax, dword [esi + 0x1dc]
cmp eax, 2
jne 0x58e2e2
mov ebp, 0x23
jmp case.0x58d95c.12
mov edx, dword [esp + 0x70]
cmp eax, 3
jne 0x58d928
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
xor ebp, ebp
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0068f43b
mov eax, ebp
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret