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

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp + 4]
push esi
xor ebx, ebx
cmp word [ebp + 8], 2
push edi
movsx edi, word [eax + 0x1a]
mov dword [esp + 0x1c], ebx
lea esi, [ebx + 1]
jne 0x4baabf
mov byte [esp + 0x13], 1
cmp byte [ebp + 0x1cd], bl
jne 0x4baac3
mov byte [esp + 0x13], bl
cmp byte [0x629a3b], 0xff
mov dword [esp + 0x18], ebx
jne 0x4baae8
push str.MHCOFF
call fcn.0056c440
add esp, 4
test eax, eax
setne cl
mov byte [0x629a3b], cl
cmp word [ebp + 8], 6
jne 0x4baaf9
mov byte [esp + 0x11], 1
cmp dword [ebp + 0x1c], ebx
jne 0x4baafd
mov byte [esp + 0x11], bl
push 0x1cd
push str.P:_seibt_transbascheckpnt_tb68_1_checkpointoptimizjoinopt.c
push 0x48
lea edx, [esp + 0x4c]
push 0x14
push edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
call fcn.0057e120
add esp, 0x14
test eax, eax
je 0x4bb0f3
push 0x1cf
push str.P:_seibt_transbascheckpnt_tb68_1_checkpointoptimizjoinopt.c
push 0x4e
lea eax, [esp + 0x60]
push 0x1e
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], esi
call fcn.0057e120
add esp, 0x14
test eax, eax
je 0x4bb0f3
lea esi, [edi + edi]
push esi
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4bb0f3
dec edi
mov word [esi + eax - 2], di
mov edi, eax
cmp byte [esp + 0x13], bl
jne 0x4babd2
lea ecx, [esp + 0x40]
push ecx
xor eax, eax
mov ecx, ebp
call fcn.004b9aa0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4bb0be
cmp dword [esp + 0x44], ebx
je 0x4bafb4
mov al, byte [esp + 0x11]
xor edx, edx
test al, al
setne dl
dec edx
and edx, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
test al, al
je 0x4bac02
mov edx, ebp
mov eax, dword [edx + 0x1c]
jmp 0x4bac05
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x40]
push edx
call fcn.004b9aa0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4bb0be
cmp dword [esp + 0x44], 1
je 0x4baba9
mov esi, 0x1b
jmp 0x4bb0be
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x58]
push ecx
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1e]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], edx
call fcn.004ba480
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4bb0be
mov bl, byte [esp + 0x13]
test bl, bl
je 0x4bac44
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4bac50
mov byte [esp + 0x12], al
cmp byte [0x629a3b], 1
jne 0x4bafd3
mov byte [esp + 0x12], 0
test bl, bl
jne 0x4bafb4
mov eax, dword [esp + 0x58]
mov esi, 1
mov dword [0x6b20a4], eax
mov dword [0x6b209c], esi
test eax, eax
je 0x4bae21
jmp 0x4bac90
cmp dword [esp + 0x14], 0
je 0x4bae21
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004ba910
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bb0be
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
imul edi, edi, 0x4e
mov ecx, dword [edi + eax + 0x3b]
test ecx, ecx
je 0x4bace0
cmp byte [ecx + 0x20], 4
jne 0x4bace0
cmp dword [edi + eax + 0x2f], 6
je 0x4bafb4
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + eax + 0x15]
mov ebx, dword [edi + eax]
mov dword [esp + 0x28], ecx
test edx, edx
je 0x4bb02a
mov ecx, dword [edi + eax + 0x2f]
lea ebp, [edi + eax + 0x2f]
cmp ecx, 5
je 0x4bad11
cmp ecx, 8
je 0x4bad11
mov dword [esp + 0x1c], 0
cmp byte [edi + eax + 0x2c], 0
je 0x4bad4b
mov esi, 1
add dword [esp + 0x1c], esi
cmp byte [edi + eax + 0x2b], 0
jne 0x4bad3b
cmp ecx, 6
je 0x4bad3b
cmp ecx, 7
je 0x4bad3b
cmp ecx, 5
jne 0x4bae10
cmp dword [esp + 0x1c], esi
jle 0x4bad4b
cmp dword [ebp], 8
je 0x4bae10
mov eax, dword [edi + eax + 0x37]
push 0
push 0
push 0
push eax
push 0x4b91b0
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x17
push edx
call fcn.0050e870
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x4bb0be
cmp dword [esp + 0x34], eax
je 0x4bae07
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
push 0x17
push eax
call fcn.0050e7b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4bb0be
mov ecx, dword [ebp]
cmp ecx, 5
je 0x4baddd
cmp ecx, 8
je 0x4baddd
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x48]
push edx
mov edx, dword [edi + eax + 0x3b]
mov eax, dword [esp + 0x34]
push edx
mov edx, ebx
call fcn.004ba560
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4bb0be
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esp + 0x34]
call fcn.004b9f10
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4bb0be
mov eax, dword [esp + 0x64]
mov esi, 1
sub dword [0x6b20a4], esi
mov byte [edi + eax + 0x2e], 1
jne 0x4bac90
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], esi
cmp edi, esi
jbe 0x4baf17
mov dword [esp + 0x1c], 0x48
lea ecx, [ecx]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + edx + 0x10]
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x38], eax
cmp ebx, eax
je 0x4baf01
cmp byte [esp + 0x11], 0
jne 0x4bafb4
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edx + 4]
mov edx, dword [ecx + 4]
movsx ebp, word [edx + 0x1a]
call fcn.004b9070
xor esi, esi
mov dword [esp + 0x3c], eax
cmp eax, esi
je 0x4bb034
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x24], esi
cmp edi, esi
jbe 0x4baf01
mov eax, dword [esp + 0x18]
jmp 0x4baea0
mov ecx, dword [esp + 0x38]
cmp dword [esi + edx + 0x10], ecx
lea edi, [esi + edx + 0x10]
jne 0x4baecd
movsx ecx, word [esi + edx + 0xc]
movsx edx, word [esi + edx + 0xe]
cmp ecx, edx
mov dword [edi], ebx
jg 0x4baec9
mov edi, edi
add word [eax + ecx*2], bp
inc ecx
cmp ecx, edx
jle 0x4baec0
mov edx, dword [esp + 0x50]
cmp dword [esi + edx + 0x10], ebx
jne 0x4baeed
mov ecx, dword [esp + 0x3c]
mov dword [esi + edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov edx, 2
mov word [esi + ecx + 0x14], dx
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
inc ecx
add esi, 0x48
mov dword [esp + 0x24], ecx
cmp ecx, edi
jb 0x4baea0
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], 0x48
inc eax
mov dword [esp + 0x28], eax
cmp eax, edi
jb 0x4bae40
cmp byte [esp + 0x11], 0
je 0x4baf65
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 4]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4baf4c
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
push 0
push edx
push ecx
push eax
call fcn.00435690
mov eax, dword [esp + 0x24]
add esp, 0x10
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
setne dl
add edx, 4
mov word [ecx + 0xa], dx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 4]
lea edi, [esp + 0x20]
call fcn.004b91c0
mov esi, eax
test esi, esi
jne 0x4bb0be
cmp byte [esp + 0x11], al
je 0x4bb04a
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
push esi
push edx
call fcn.004349c0
mov ecx, dword [esp + 0x28]
push esi
push ecx
mov dword [esi + eax*4 + 0xc], ecx
call fcn.004ba410
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4bb0be
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x54]
push ecx
lea ebx, [esp + 0x44]
call fcn.004b94e0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret
cmp byte [esp + 0x12], 0
je 0x4bac62
cmp byte [esp + 0x11], 0
jne 0x4bac62
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push ecx
push eax
lea edx, [esp + 0x2b]
push edx
call fcn.005331d0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4bb0be
cmp byte [esp + 0x13], al
jne 0x4bafb4
test bl, bl
je 0x4bac6a
jmp 0x4bafb4
mov esi, 2
jmp 0x4bb0f8
push 0x2750
push 6
call fcn.00406f10
add esp, 8
mov esi, 6
jmp 0x4bb0be
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x2c]
push ebx
push esi
call fcn.004349c0
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x4bb0e9
push edi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
push ebx
push esi
mov dword [esi + 0xc], eax
call fcn.00480ca0
add esp, 0xc
test eax, eax
je 0x4bb0f3
cmp word [eax + 8], 4
je 0x4bb091
mov ebx, eax
mov eax, dword [eax + 0xc]
xor edi, edi
push 0
push 0
push edi
push ebx
push eax
call fcn.004c18b0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4bb0be
mov edx, dword [ebx + edi*4 + 0xc]
push ebx
push edx
call fcn.004ba410
mov esi, eax
add esp, 8
test esi, esi
je 0x4bafb4
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x1c]
lea ebx, [esp + 0x44]
call fcn.004b94e0
push 0x273f
push 0
call fcn.00406f10
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x20]
mov dword [ebx + edi*4 + 0xc], ecx
jmp 0x4bb0a6
mov esi, 6
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
lea ebx, [esp + 0x44]
call fcn.004b94e0
mov eax, dword [esp + 0x7c]
push eax
push 0x273f
push esi
call fcn.00406f10
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret